Struct mdbook_katex::KatexConfig
source · pub struct KatexConfig {
pub leqno: bool,
pub fleqn: bool,
pub throw_on_error: bool,
pub error_color: String,
pub min_rule_thickness: f64,
pub max_size: f64,
pub max_expand: i32,
pub trust: bool,
pub static_css: bool,
pub include_src: bool,
pub macros: Option<String>,
}
Fields§
§leqno: bool
§fleqn: bool
§throw_on_error: bool
§error_color: String
§min_rule_thickness: f64
§max_size: f64
§max_expand: i32
§trust: bool
§static_css: bool
§include_src: bool
§macros: Option<String>
Trait Implementations§
source§impl Default for KatexConfig
impl Default for KatexConfig
source§fn default() -> KatexConfig
fn default() -> KatexConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for KatexConfigwhere
KatexConfig: Default,
impl<'de> Deserialize<'de> for KatexConfigwhere
KatexConfig: Default,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more