Read Markdown section
nodiom_readExtract any Markdown section, heading, or list item by structural selector. Read precise content from files without regex or string manipulation.
Instructions
Returns the Markdown content at a structural location in a file. Use a selector like "# Heading > ## Subheading" to address any section. Use "# H1 > ## H2 > li[0]" to read a specific list item. Returns the raw Markdown string of the matched content.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute path to the Markdown file. | |
| selector | Yes | Structural selector. Examples: "# Project > ## Tasks", "## Notes > p[0]", "## Tasks > li[-1]" |