Skip to main content

RenderOptions

Type Alias RenderOptions 

Source
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: bool

Enable GitHub Flavored Markdown (GFM)

§enable_footnotes: bool

Enable footnotes extension

§enable_tables: bool

Enable tables extension

§enable_task_lists: bool

Enable task lists (checkboxes)

§enable_strikethrough: bool

Enable strikethrough text

§enable_autolinks: bool

Enable autolinks (convert URLs to links)

§enable_smart_punctuation: bool

Enable smart punctuation (quotes, dashes, etc.)

§enable_heading_attributes: bool

Enable heading attributes