Skip to main content

render_markdown

Function render_markdown 

Source
pub fn render_markdown(
    content: &str,
    highlighter: &Highlighter,
    base_path: &str,
) -> Result<String>
Expand description

Render markdown content to HTML with syntax-highlighted code blocks. Internal links (starting with /) are prefixed with base_path.