parse
Parses a markdown document into a Lezer syntax tree with the Obsidian syntax.
Import:
import { parse } from '@mnaoumov/obsidian-markdown-parser';Signature:
function parse(text: string): TreeParameters:
| Parameter | Type | Description |
|---|---|---|
text |
string | The document to parse. |
Returns: Tree — The document’s syntax tree.