Structs§
- Block
Info - Information about a block-level element.
- Formatting
State - Describes which formatting is active at the current cursor position.
- Input
Rules - Markdown input rules — auto-behaviors triggered by specific keystrokes.
- Markdown
Commands - Markdown-aware editing commands that operate on a kode-core Editor.
- Markdown
Editor - Coordinated markdown editor that owns both the text
Editorand theMarkdownTree. After every mutation that changes text content, the tree is automatically synced viaset_source(). This is the single coordination point — callers should never need to manually sync. - Markdown
Tree - Wraps a tree-sitter parser configured for markdown. Supports incremental re-parsing after edits.
- Node
Info - Information about any node in the tree.
Enums§
- Node
Kind - Classification of markdown node types from the tree-sitter CST.
Functions§
- code_
block_ content - Extract the content of a fenced code block (without fences).
- code_
block_ language - Extract the info string (language) from a fenced code block node.