Skip to main content

Module code_spans

Module code_spans 

Source

Functionsยง

emit_code_span
Emit a code span node to the builder.
try_parse_code_span
Try to parse a code span starting at the current position. Returns (total_len, code_content, backtick_count, attributes) if successful. When trailing attributes are present, attributes carries both the parsed AttributeBlock (for raw-inline / extension-gating decisions) and the raw {...} source slice (for lossless structured emission).