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