Struct katex::opts::Opts [−][src]
#[non_exhaustive]pub struct Opts { /* fields omitted */ }
Expand description
Options to be passed to KaTeX.
Read https://katex.org/docs/options.html for more information.
Implementations
Return OptsBuilder
.
Set whether to render the math in the display mode.
Set KaTeX output type.
Set whether to have \tags
rendered on the left instead of the right.
Set whether to let KaTeX throw a ParseError for invalid LaTeX.
Set the color used for invalid LaTeX.
Add a custom macro. Read https://katex.org/docs/options.html for more information.
Set the minimum thickness, in ems. Read https://katex.org/docs/options.html for more information.
Set the max size for user-specified sizes.
If set to None
, users can make elements and spaces arbitrarily large.
Read https://katex.org/docs/options.html for more information.
Set the limit for the number of macro expansions.
If set to None
, the macro expander will try to fully expand as in LaTeX.
Read https://katex.org/docs/options.html for more information.
Set whether to trust users’ input. Read https://katex.org/docs/options.html for more information.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Opts
impl UnwindSafe for Opts
Blanket Implementations
Mutably borrows from an owned value. Read more