Expand description
Library for type-safe building of MathML (core) markup.
Re-exports§
Modules§
- attributes
- Global attributes of MathML elements.
- elements
- Elements found in the MathML Core Specification. These elements are called MathML Core elements.
- markers
- Marker types used in builders.
Macros§
- children
- Create a
Elements
from a list ofElement
s. - row
- Create a
mrow
ofElement
s. - table
- Create a
Table
easily using this macro. - table_
row - Create a row of
TableCell
s. To be used inTable
.
Structs§
- BufMath
MlWriter - Default implementation of MathMl
Writer
. - MathMl
- The
MathMl
is themath
- the top-level MathML element, used to write a single mathematical formula. It can be placed in HTML content where flow content is permitted. - Math
MlFormatter - Default MathMl
Renderer
implementation.
Enums§
- Display
Attr - Specifies how the enclosed MathML markup should be rendered.
- Math
MlAttr - Attributes of the
math
(MathMl
) element.
Traits§
- Renderer
- Trait for rendering MathML elements. Each method in this trait has a default implementation
that returns
Result::Ok
with an emptyString
. This makes it possible to potentially introduce new elements without breaking existing renderers. This means that any new elements introduced will be omitted in the final render, if the corresponding methods are not implemented. - Writer
- Trait for writing MathML elements. Each method in this trait has a default implementation that does nothing.