Skip to main content

Module component

Module component 

Source

Structs§

Component
A parsed component in a document.

Functions§

find_code_ranges
Find byte ranges of code regions (fenced code blocks + inline code spans). Markers inside these ranges are treated as literal text, not component markers.
is_agent_marker
True if the text inside <!-- ... --> is an agent component marker.
parse
Parse all components from a document.