Skip to main content

# loadPrism

export function loadPrism(): Promise<any>;

Load Prism.js and return a promise to the global Prism object. Can also use Prism after this promise resolves to get the same reference.