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,
    pub search: Option<Search>,
    // 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?

Search settings. If None, the default will be used.

Methods

impl HtmlConfig
[src]

Returns the directory of theme from the provided root directory. If the directory is not present it will append the default directory of "theme"

Trait Implementations

impl Debug for HtmlConfig
[src]

Formats the value using the given formatter. Read more

impl Clone for HtmlConfig
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for HtmlConfig
[src]

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

impl PartialEq for HtmlConfig
[src]

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

This method tests for !=.

Auto Trait Implementations

impl Send for HtmlConfig

impl Sync for HtmlConfig