This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/mathml-tag-names
cranberry ed23347e56 Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
..
index.json Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
license Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
package.json Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00
readme.md Initial comission of TheLounge base files 2020-11-01 22:46:04 +00:00

readme.md

mathml-tag-names

Build Downloads Size

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

npm:

npm install mathml-tag-names

Use

var mathMLTagNames = require('mathml-tag-names')

console.log(mathMLTagNames.length) // => 202

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 lowercase tag names.

License

MIT © Titus Wormer