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
theme: Option<PathBuf>
The theme directory, if specified.
curly_quotes: bool
Use "smart quotes" instead of the usual "
character.
mathjax_support: bool
Should mathjax be enabled?
google_analytics: Option<String>
An optional google analytics code.
additional_css: Vec<PathBuf>
Additional CSS stylesheets to include in the rendered page's <head>
.
additional_js: Vec<PathBuf>
Additional JS scripts to include at the bottom of the rendered page's
<body>
.
playpen: Playpen
Playpen settings.
no_section_label: bool
Should section labels be rendered?
Trait Implementations
impl Debug for HtmlConfig
[src]
impl Clone for HtmlConfig
[src]
fn clone(&self) -> HtmlConfig
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Default for HtmlConfig
[src]
fn default() -> HtmlConfig
[src]
Returns the "default value" for a type. Read more
impl PartialEq for HtmlConfig
[src]
fn eq(&self, __arg_0: &HtmlConfig) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HtmlConfig) -> bool
[src]
This method tests for !=
.