highlightAll
Unofficial
Highlights all code elements on the page.
Import:
import type { highlightAll } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
function highlightAll(async?: boolean, callback?: HighlightCallback): voidParameters:
| Parameter | Type | Description |
|---|---|---|
async? |
boolean | Whether to use web workers for highlighting. |
callback? |
HighlightCallback | Callback invoked after each element is highlighted. |
Returns: void