Prism API
    Preparing search index...

    Interface HighlightAllOptions

    interface HighlightAllOptions {
        async?: AsyncHighlighter;
        callback?: (element: Element) => void;
        root?: ParentNode;
    }
    Index

    Properties

    callback?: (element: Element) => void

    An optional callback to be invoked on each element after its highlighting is done.

    HighlightElementOptions#callback

    root?: ParentNode

    The root element, whose descendants that have a .language-xxxx class will be highlighted.