Struct mdbook::config::HtmlConfig [] [src]

pub struct HtmlConfig {
    pub theme: Option<PathBuf>,
    pub curly_quotes: bool,
    pub mathjax_support: bool,
    pub google_analytics: Option<String>,
    pub additional_css: Vec<PathBuf>,
    pub additional_js: Vec<PathBuf>,
    pub playpen: Playpen,
    pub no_section_label: bool,
    // some fields omitted
}

Configuration for the HTML renderer.

Fields

The theme directory, if specified.

Use "smart quotes" instead of the usual " character.

Should mathjax be enabled?

An optional google analytics code.

Additional CSS stylesheets to include in the rendered page's <head>.

Additional JS scripts to include at the bottom of the rendered page's <body>.

Playpen settings.

Should section labels be rendered?

Trait Implementations

impl Debug for HtmlConfig
[src]

[src]

Formats the value using the given formatter.

impl Clone for HtmlConfig
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Default for HtmlConfig
[src]

[src]

Returns the "default value" for a type. Read more

impl PartialEq for HtmlConfig
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.