mathml-tag-names
List of known MathML tag names.
Includes the elements from MathML 1, MathML 2, and
MathML 3.
The repo contains a script to crawl specs to include newly introduced tag names.
Install
This package is ESM only: Node 12+ is needed to use it and it must be import
ed
instead of require
d.
npm:
npm install mathml-tag-names
Use
import {mathmlTagNames} from 'mathml-tag-names'
console.log(mathmlTagNames.length)
console.log(mathmlTagNames.slice(0, 10))
Yields:
[
'abs',
'and',
'annotation',
'annotation-xml',
'apply',
'approx',
'arccos',
'arccosh',
'arccot',
'arccoth'
]
API
This package exports the following identifiers: mathmlTagNames
.
There is no default export.
mathmlTagNames
string[]
— List of lowercase tag names.
Related
License
MIT © Titus Wormer