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.
Installation
npm:
npm install mathml-tag-names
mathml-tag-names is also available as an AMD, CommonJS, and globals
module, uncompressed and compressed.
Usage
var mathMLTagNames = require('mathml-tag-names');
mathMLTagNames.length;
console.log(mathMLTagNames.slice(0, 20));
Yields:
[ 'abs',
'and',
'annotation',
'annotation-xml',
'apply',
'approx',
'arccos',
'arccosh',
'arccot',
'arccoth',
'arccsc',
'arccsch',
'arcsec',
'arcsech',
'arcsin',
'arcsinh',
'arctan',
'arctanh',
'arg',
'bind' ]
API
mathMLTagNames
Array.<string>
— List of lower-case tag-names.
License
MIT © Titus Wormer