Documentation
¶
Overview ¶
Package markdown registers the Markdown renderer with the stripes registry. Import for side effects to enable text/markdown support:
import _ "github.com/firetiger-oss/stripes/markdown"
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Render ¶
Render writes a styled rendering of the Markdown read from r to w. The renderer streams: top-level blocks are emitted to w as soon as the input makes them safely final, so feeding a slow-arriving reader (HTTP body, stdin from an LLM client, ...) produces output incrementally rather than waiting for EOF. The accumulated buffer is re-parsed with goldmark on each chunk, and a block is treated as final once it gains a successor sibling, or — for ATX headings, setext headings, and thematic breaks — once its source lines are terminated.
Types ¶
This section is empty.