Skip to main content

to_markdown

Function to_markdown 

Source
pub fn to_markdown(doc: &SurfDoc) -> String
Expand description

Render a SurfDoc as standard CommonMark markdown.

The output contains no :: directive markers. Each SurfDoc block type is degraded to its closest CommonMark equivalent.