Skip to main content

scan

Function scan 

Source
pub fn scan(text: &str) -> Result<Doc, String>
Expand description

Scan one markdown text. Closing markers (<!-- /soothfast:... -->) are structural for readers and ignored here. Errs on an unclosed fence: dropping it would silently swallow the block and every later marker.