Skip to main content

Module markdown

Module markdown 

Source

Structs§

BlockMetadata
Runner configuration parsed from a fenced block’s info-string.
FencedBlock
A fenced code block extracted from a Markdown document.

Functions§

expect_error_from_info
Extract the expect_error needle from a fence info string such as oxdock expect_error:"boom". Returns None when the key is absent. Malformed metadata errors, exactly like fenced-block extraction, so generators and runners agree on what a fence means.
extract_fenced_blocks
Extract fenced code blocks whose info-string starts with lang.