highlightAllUnder
Unofficial
Highlights all code elements under a given container.
Import:
import type { highlightAllUnder } from '@obsidian-typings/obsidian-catalyst-latest';Signature:
function highlightAllUnder(container: ParentNode, async: boolean | undefined, callback: HighlightCallback | undefined): voidParameters:
| Parameter | Type | Description |
|---|---|---|
container | ParentNode | The parent node to search within. |
async | boolean | undefined | Whether to use web workers for highlighting. |
callback | HighlightCallback | undefined | Callback invoked after each element is highlighted. |
Returns: void