Crate alemat

source ·
Expand description

Library for type-safe building of MathML (core) markup.

Re-exports

Modules

  • Global attributes of MathML elements.
  • Elements found in the MathML Core Specification. These elements are called MathML Core elements.
  • Marker types used in builders.

Macros

Structs

  • Default implementation of MathMl Writer.
  • The MathMl is the math - the top-level MathML element, used to write a single mathematical formula. It can be placed in HTML content where flow content is permitted.
  • Default MathMl Renderer implementation.

Enums

Traits

  • Trait for rendering MathML elements. Each method in this trait has a default implementation that returns Result::Ok with an empty String. 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.
  • Trait for writing MathML elements. Each method in this trait has a default implementation that does nothing.