Skip to main content

Crate kode_markdown

Crate kode_markdown 

Source

Structs§

BlockInfo
Information about a block-level element.
FormattingState
Describes which formatting is active at the current cursor position.
InputRules
Markdown input rules — auto-behaviors triggered by specific keystrokes.
MarkdownCommands
Markdown-aware editing commands that operate on a kode-core Editor.
MarkdownEditor
Coordinated markdown editor that owns both the text Editor and the MarkdownTree. After every mutation that changes text content, the tree is automatically synced via set_source(). This is the single coordination point — callers should never need to manually sync.
MarkdownTree
Wraps a tree-sitter parser configured for markdown. Supports incremental re-parsing after edits.
NodeInfo
Information about any node in the tree.

Enums§

NodeKind
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.