Member Junction
    Preparing search index...

    The token for MathML written as markup, such as a formula carried over from a JATS article. text is the markup with namespace prefixes removed (<mml:mi> becomes <mi>): the HTML parser only recognizes unprefixed MathML and treats <mml:math> as an unknown element.

    interface MathMLToken {
        displayMode: boolean;
        raw: string;
        text: string;
        tokens?: Token[];
        type: "mathml" | "mathmlBlock";
        [index: string]: any;
    }

    Hierarchy

    • Generic
      • MathMLToken

    Indexable

    • [index: string]: any
    Index

    Properties

    displayMode: boolean

    display="block" on the <math> element.

    raw: string

    The original matched markdown source.

    text: string

    The MathML markup, prefixes removed.

    tokens?: Token[]
    type: "mathml" | "mathmlBlock"

    mathmlBlock for an element on its own lines, mathml for one inside a paragraph.