pub type RenderOptions = MarkdownOptions;Expand description
Markdown parsing options.
This is the primary options type for crate::MarkdownParser.
Aliased Type§
pub struct RenderOptions {
pub enable_gfm: bool,
pub enable_footnotes: bool,
pub enable_tables: bool,
pub enable_task_lists: bool,
pub enable_strikethrough: bool,
pub enable_autolinks: bool,
pub enable_smart_punctuation: bool,
pub enable_heading_attributes: bool,
}Fields§
§enable_gfm: boolEnable GitHub Flavored Markdown (GFM)
enable_footnotes: boolEnable footnotes extension
enable_tables: boolEnable tables extension
enable_task_lists: boolEnable task lists (checkboxes)
enable_strikethrough: boolEnable strikethrough text
enable_autolinks: boolEnable autolinks (convert URLs to links)
enable_smart_punctuation: boolEnable smart punctuation (quotes, dashes, etc.)
enable_heading_attributes: boolEnable heading attributes