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 make display math flush left.

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

Performs the conversion.

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.