PrismModule.highlightAll method
PrismModule › highlightAll
Unofficial
Highlights all code elements on the page.Signature:
highlightAll(async?: boolean | undefined, callback?: HighlightCallback | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
| async? | boolean | undefined | Whether to use web workers. |
| callback? | HighlightCallback | undefined | Callback invoked after each element is highlighted. |
Returns: void