to_html

func to_html(consume markdown: String, extensions: &[Extension]) -> String

Parses Markdown and renders escaped HTML without shifting heading levels.

This is equivalent to to_html_with_heading_offset(..., heading_offset: 0).

View Source
pub func to_html(consume markdown: String, extensions: &[Extension]) -> String {
	to_html_with_heading_offset(markdown: markdown, extensions: extensions, heading_offset: 0)
}