# mathml-tag-names **Repository Path**: ArkTSCentralRepository/mathml-tag-names ## Basic Information - **Project Name**: mathml-tag-names - **Description**: mathml-tag-names 是一个包含 MathML 版本 1、2 和 3 中所有标签名的列表,适用于需要了解 MathML 允许的标签名的场景。 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-21 - **Last Updated**: 2024-11-24 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # mathml-tag-names 基于[mathml-tag-names - npm](https://www.npmjs.com/package/mathml-tag-names)原库3.0.2版本进行适配,所有功能代码已经转换为`ArkTS`文件 ## Install ```sh ohpm install mathml-tag-names ``` ## Contents * [What is this?](#what-is-this) * [When should I use this?](#when-should-i-use-this) * [Use](#use) * [API](#api) * [`mathmlTagNames`](#mathmltagnames) * [License](#license) ## What is this? This is a list of MathML tag names. It includes all tag names from [MathML 1][mathml1], [MathML 2][mathml2], and [MathML 3][mathml3]. The repo is includes scripts to regenerate the data from the specs. ## When should I use this? You can use this package when you need to know what tag names are allowed in any version of MathML. ## Use ```js import {mathmlTagNames} from 'mathml-tag-names' console.log(mathmlTagNames.length) // => 189 console.log(mathmlTagNames.slice(0, 10)) ``` Yields: ```js [ '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` List of known (lowercase) MathML tag names (`Array`). ## License [MIT][license] © [Titus Wormer][author]