highlightLines
Highlights the lines of a document from a given line on, optionally resuming from a saved state.
Import:
import { highlightLines } from '@mnaoumov/obsidian-markdown-parser';Signature:
function highlightLines(params: HighlightLinesParams): HighlightedLine[]Parameters:
| Parameter | Type | Description |
|---|---|---|
params |
HighlightLinesParams | The lines, and where and how to start. |
Returns: HighlightedLine[] — The highlighted lines from startLine on.
Links to this page: