loadPrism

loadPrism() function

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.

Signature:

export function loadPrism(): Promise<any>;

Returns:

Promise<any>