rapier-math 2.0.0 → 2.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +15 -5
- package/dist/accessible.css +6 -0
- package/dist/accessible.d.ts +10 -0
- package/dist/accessible.mjs +18 -0
- package/dist/classic.d.ts +8 -2
- package/dist/combined.d.ts +4 -0
- package/dist/combined.mjs +2 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.mjs +6 -2980
- package/dist/integration.d.ts +3 -1
- package/dist/integration.mjs +13 -19
- package/dist/markdown-it.mjs +7 -4
- package/dist/mathml.d.ts +5 -0
- package/dist/mathml.mjs +3 -0
- package/dist/rapier-math.js +595 -143
- package/dist/rehype.mjs +13 -3
- package/docs/api.md +38 -2
- package/docs/math-components.json +6 -5
- package/docs/math-resources.json +150 -54
- package/docs/semantics.md +228 -0
- package/examples/README.md +10 -0
- package/examples/accessible.html +27 -0
- package/examples/accessible.mjs +42 -0
- package/examples/semantic.mjs +11 -0
- package/package.json +16 -2
- package/src/math/api.js +16 -55
- package/src/math/browser.js +4 -0
- package/src/math/classic.js +7 -0
- package/src/math/combined.js +13 -0
- package/src/math/fallbacks.js +5 -0
- package/src/math/font.js +3 -0
- package/src/math/layout.js +6 -37
- package/src/math/mathml.js +406 -0
- package/src/math/package-build.mjs +24 -11
- package/src/math/package-layout.mjs +3 -0
- package/src/math/package-readme.mjs +14 -4
- package/src/math/parser.js +14 -11
- package/src/math/responsive.js +4 -0
- package/src/math/semantic-api.js +12 -0
- package/src/math/source.js +67 -0
- package/src/math/symbols.js +3 -0
- package/src/math/variants.js +41 -0
- package/src/tools/build-math.mjs +19 -10
- package/tests/adoption.mjs +34 -0
- package/tests/check.mjs +13 -5
- package/tests/semantics.mjs +340 -0
- package/tests/verify.mjs +3 -3
package/dist/rehype.mjs
CHANGED
|
@@ -17,13 +17,14 @@ export default function rehypeRapierMath(options = {}) {
|
|
|
17
17
|
!Array.isArray(node.children) || !node.children.every(child => child.type === 'text' && typeof child.value === 'string')) return null;
|
|
18
18
|
return {source: node.children.map(child => child.value).join(''), display: names.includes('math-display')};
|
|
19
19
|
}
|
|
20
|
-
function visit(parent) {
|
|
20
|
+
function visit(parent, hostLink = null) {
|
|
21
|
+
if (parent.type === 'element' && parent.tagName === 'a') hostLink = parent;
|
|
21
22
|
for (let index = 0; index < (parent.children?.length || 0); index++) {
|
|
22
23
|
const node = parent.children[index];
|
|
23
24
|
const code = node.type === 'element' && node.tagName === 'pre' && node.children?.length === 1 ? node.children[0] : node;
|
|
24
25
|
const input = math(code);
|
|
25
|
-
if (!input) { visit(node); continue; }
|
|
26
|
-
const result = render(input.source, input.display);
|
|
26
|
+
if (!input) { visit(node, hostLink); continue; }
|
|
27
|
+
const result = render(input.source, input.display, !!hostLink);
|
|
27
28
|
if (result.errors.length) {
|
|
28
29
|
for (const error of result.errors) {
|
|
29
30
|
const message = file?.message(error.message, {place: code.position, source: 'rapier-math', ruleId: error.code});
|
|
@@ -31,6 +32,15 @@ export default function rehypeRapierMath(options = {}) {
|
|
|
31
32
|
}
|
|
32
33
|
continue;
|
|
33
34
|
}
|
|
35
|
+
// Native MathML descendants do not supply a link name in every host.
|
|
36
|
+
// Match internal formula links' destination fallback without inventing
|
|
37
|
+
// mathematical speech or replacing an authored accessible name.
|
|
38
|
+
if (result.presentation && hostLink) {
|
|
39
|
+
const properties = hostLink.properties ||= {};
|
|
40
|
+
if (!properties.ariaLabel && !properties.ariaLabelledBy && !properties.title &&
|
|
41
|
+
typeof properties.href === 'string' && properties.href)
|
|
42
|
+
properties.title = properties.href;
|
|
43
|
+
}
|
|
34
44
|
// Every occurrence gets fresh nodes, including every part of a composed
|
|
35
45
|
// result. Reusable formula artifacts never own host HAST identity.
|
|
36
46
|
const children = fromHtml(result.markup, {fragment: true}).children;
|
package/docs/api.md
CHANGED
|
@@ -23,6 +23,42 @@ Keep `source` for editing and copying. A formula API accepts TeX without Markdow
|
|
|
23
23
|
the TeX a second time. Native ESM works in Node 22+, current browsers and module workers; no CommonJS wrapper
|
|
24
24
|
is provided. Server output needs no client renderer unless fitting or further rendering is wanted.
|
|
25
25
|
|
|
26
|
+
## One file or native modules
|
|
27
|
+
|
|
28
|
+
For a one-file browser or inline-script integration, use `dist/rapier-math.js` and
|
|
29
|
+
`globalThis.RapierMath.renderToString(source)`. This classic file contains the complete
|
|
30
|
+
formula renderer and font; it needs no sibling modules or runtime download.
|
|
31
|
+
|
|
32
|
+
The native `dist/index.mjs` entry is a small facade importing the relative `src/math/`
|
|
33
|
+
module graph. It is not a standalone file to copy or inline. Install the whole package,
|
|
34
|
+
serve its `dist/` and `src/` directories together, or bundle the native import in your
|
|
35
|
+
application. A CDN must serve that package graph or bundle the entry. The browser and
|
|
36
|
+
module-worker examples assume the complete package is served from its root.
|
|
37
|
+
|
|
38
|
+
## Structured and accessible output
|
|
39
|
+
|
|
40
|
+
```js
|
|
41
|
+
import {toMathML} from 'rapier-math/mathml'; // no embedded font or SVG layout
|
|
42
|
+
import {renderWithMathML} from 'rapier-math/combined'; // one admitted parse
|
|
43
|
+
import {renderAccessible} from 'rapier-math/accessible';
|
|
44
|
+
const semantic = toMathML(String.raw`\frac{a}{b}`);
|
|
45
|
+
const both = renderWithMathML(String.raw`\frac{a}{b}`);
|
|
46
|
+
const accessible = renderAccessible(String.raw`\frac{a}{b}`);
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
Include `rapier-math/accessible.css` when inserting `accessible.html`. Ordinary formulas retain
|
|
50
|
+
visual SVG with one assistive MathML sibling. Internally linked formulas use visible native
|
|
51
|
+
MathML once and return their standalone SVG separately. Check `semantics.status`: `complete`,
|
|
52
|
+
`presentation-fallback`, or `refused`. On refusal, insert original source through a text sink.
|
|
53
|
+
The [semantic contract](semantics.md) describes mappings, exact-source annotations, link
|
|
54
|
+
tradeoffs, sanitizer/CSP order and the separate manual screen-reader acceptance steps.
|
|
55
|
+
|
|
56
|
+
Both Markdown adapters accept `accessible: true`; their normal grammar is unchanged. Cache
|
|
57
|
+
entries retain only immutable scalar/string output, never a shared semantic tree or HAST.
|
|
58
|
+
Native entries execute the carried source modules directly, sharing one parser and alphabet
|
|
59
|
+
mapping. SVG-only imports do not reach MathML; MathML-only imports do not reach fonts, layout or
|
|
60
|
+
browser observers. The classic offline script includes all formula outputs.
|
|
61
|
+
|
|
26
62
|
## Markdown
|
|
27
63
|
|
|
28
64
|
```sh
|
|
@@ -75,7 +111,7 @@ whitespace and code rules in this pipeline; its grammar is different from the ma
|
|
|
75
111
|
not enable backslash delimiters. Unsupported formulas remain copyable code and produce VFile messages
|
|
76
112
|
with `ruleId`, `mathOffset` and `mathSource`.
|
|
77
113
|
|
|
78
|
-
Both rendering adapters accept `renderOptions`, `maxFormulas` (default 1024) and `maxOutputLength` (default
|
|
114
|
+
Both rendering adapters accept `accessible` (default false), `renderOptions`, `maxFormulas` (default 1024) and `maxOutputLength` (default
|
|
79
115
|
16 Mi UTF-16 code units of successful formula insertion markup per document render, excluding the host's
|
|
80
116
|
display wrapper). Each occurrence spends both count and output admission, including cache hits. Rendering
|
|
81
117
|
an already parsed markdown-it tree again starts a fresh budget. Ordinary inline descendants share their
|
|
@@ -161,7 +197,7 @@ sessions. Each successful occurrence receives a fresh result object and, for reh
|
|
|
161
197
|
### Configuration, retention and costs
|
|
162
198
|
|
|
163
199
|
With an explicit reuse session, a document captures supported plain-data `renderOptions` and a copy of
|
|
164
|
-
`screen` when its root render starts. Without a session, options retain ordinary per-occurrence reads. Its exact source, display mode, width and every screen field form the reuse key. Later root
|
|
200
|
+
`screen` when its root render starts. Without a session, options retain ordinary per-occurrence reads. Its exact source, output mode, display mode, width and every screen field form the reuse key. Later root
|
|
165
201
|
renders see option changes; an active outer render keeps its captured options during nested renders.
|
|
166
202
|
Data-shaped proxies use their actual acquired values for both the key and renderer, including invalid
|
|
167
203
|
values or failed acquisition; a failure is not silently retried to obtain a different option. Snapshot
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"spdxVersion": "SPDX-2.3",
|
|
3
3
|
"dataLicense": "CC0-1.0",
|
|
4
4
|
"SPDXID": "SPDXRef-DOCUMENT",
|
|
5
|
-
"name": "rapier-math-2.
|
|
6
|
-
"documentNamespace": "https://rapier.website/spdx/rapier-math-2.
|
|
5
|
+
"name": "rapier-math-2.1.0",
|
|
6
|
+
"documentNamespace": "https://rapier.website/spdx/rapier-math-2.1.0-e1667405881f03e4757563ad9ea34202ba6d3413944b5cc648dc4280b66d567a",
|
|
7
7
|
"creationInfo": {
|
|
8
|
-
"created": "2026-10-
|
|
8
|
+
"created": "2026-10-13T12:38:30.961Z",
|
|
9
9
|
"creators": [
|
|
10
10
|
"Tool: rapier-math-components",
|
|
11
11
|
"Organization: rapier.website"
|
|
@@ -15,16 +15,17 @@
|
|
|
15
15
|
{
|
|
16
16
|
"name": "rapier-math",
|
|
17
17
|
"SPDXID": "SPDXRef-rapier-math",
|
|
18
|
-
"versionInfo": "2.
|
|
18
|
+
"versionInfo": "2.1.0",
|
|
19
19
|
"downloadLocation": "NOASSERTION",
|
|
20
20
|
"filesAnalyzed": false,
|
|
21
21
|
"licenseConcluded": "MIT AND LicenseRef-GUST-Font-License",
|
|
22
22
|
"licenseDeclared": "MIT AND LicenseRef-GUST-Font-License",
|
|
23
23
|
"copyrightText": "NOASSERTION",
|
|
24
|
+
"sourceInfo": "Verified current build inputs: math-resources.json (SHA-256 1ccf57bc76f95815cb2b9d40b44505e91cd14abe268d9f93d0ea28fb59308eca).",
|
|
24
25
|
"checksums": [
|
|
25
26
|
{
|
|
26
27
|
"algorithm": "SHA256",
|
|
27
|
-
"checksumValue": "
|
|
28
|
+
"checksumValue": "e1667405881f03e4757563ad9ea34202ba6d3413944b5cc648dc4280b66d567a"
|
|
28
29
|
}
|
|
29
30
|
]
|
|
30
31
|
},
|
package/docs/math-resources.json
CHANGED
|
@@ -1,60 +1,96 @@
|
|
|
1
1
|
{
|
|
2
|
-
"bundle": "rapier-math-2.
|
|
2
|
+
"bundle": "rapier-math-2.1.0.js",
|
|
3
3
|
"packageBundle": "dist/rapier-math.js",
|
|
4
|
-
"version": "2.
|
|
4
|
+
"version": "2.1.0",
|
|
5
5
|
"license": "MIT AND LicenseRef-GUST-Font-License",
|
|
6
|
-
"bytes":
|
|
7
|
-
"gzipBytes":
|
|
8
|
-
"sha256": "
|
|
9
|
-
"sha384": "
|
|
6
|
+
"bytes": 745053,
|
|
7
|
+
"gzipBytes": 451500,
|
|
8
|
+
"sha256": "e1667405881f03e4757563ad9ea34202ba6d3413944b5cc648dc4280b66d567a",
|
|
9
|
+
"sha384": "3+lJzhwiyTiz1ptqIPqrbS/tkfjIki9QnvSY4kyFBv7MCDiH5LmvNUk8CMlaPg9Z",
|
|
10
10
|
"sources": [
|
|
11
11
|
{
|
|
12
12
|
"file": "math/font.js",
|
|
13
13
|
"packageFile": "src/math/font.js",
|
|
14
|
-
"bytes":
|
|
15
|
-
"sha256": "
|
|
14
|
+
"bytes": 558741,
|
|
15
|
+
"sha256": "ca92701353de9b79527e133d1b44931dedf2a5e647561d4b80626d86f74e7e8b"
|
|
16
16
|
},
|
|
17
17
|
{
|
|
18
18
|
"file": "math/symbols.js",
|
|
19
19
|
"packageFile": "src/math/symbols.js",
|
|
20
|
-
"bytes":
|
|
21
|
-
"sha256": "
|
|
20
|
+
"bytes": 8484,
|
|
21
|
+
"sha256": "0f711ac551d950ba62acbc5cf84d1362276498fbb7809fad55c97d98be100a95"
|
|
22
22
|
},
|
|
23
23
|
{
|
|
24
24
|
"file": "math/parser.js",
|
|
25
25
|
"packageFile": "src/math/parser.js",
|
|
26
|
-
"bytes":
|
|
27
|
-
"sha256": "
|
|
26
|
+
"bytes": 69789,
|
|
27
|
+
"sha256": "50d740a6190d3ec3218fcf76a1cd7eb74ef18f638e265c5c591e5e943ea91549"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"file": "math/source.js",
|
|
31
|
+
"packageFile": "src/math/source.js",
|
|
32
|
+
"bytes": 3248,
|
|
33
|
+
"sha256": "e6e52a8377df06bbd30df1e6249e3e9eccdeabbf1c2b7482c17820a9a2a1d313"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"file": "math/variants.js",
|
|
37
|
+
"packageFile": "src/math/variants.js",
|
|
38
|
+
"bytes": 2093,
|
|
39
|
+
"sha256": "459311776b8c5734110dfd8eae2c8fdda3c6e8783d43822055ee8c61e520cea6"
|
|
28
40
|
},
|
|
29
41
|
{
|
|
30
42
|
"file": "math/layout.js",
|
|
31
43
|
"packageFile": "src/math/layout.js",
|
|
32
|
-
"bytes":
|
|
33
|
-
"sha256": "
|
|
44
|
+
"bytes": 36115,
|
|
45
|
+
"sha256": "5662f8fd6dd15e496b755d44fc6c0f81589d1eafd49176522e7b7da887c049c9"
|
|
34
46
|
},
|
|
35
47
|
{
|
|
36
48
|
"file": "math/fallbacks.js",
|
|
37
49
|
"packageFile": "src/math/fallbacks.js",
|
|
38
|
-
"bytes":
|
|
39
|
-
"sha256": "
|
|
50
|
+
"bytes": 8214,
|
|
51
|
+
"sha256": "ff572ad147f348508ee966de9936efb996283b7978bee909bf9a208bcd46456c"
|
|
40
52
|
},
|
|
41
53
|
{
|
|
42
54
|
"file": "math/responsive.js",
|
|
43
55
|
"packageFile": "src/math/responsive.js",
|
|
44
|
-
"bytes":
|
|
45
|
-
"sha256": "
|
|
56
|
+
"bytes": 13839,
|
|
57
|
+
"sha256": "d0cff2fd9a520d30b75b1d49074d93d2500c5f32ca6aaa30239498fe6d860e07"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"file": "math/api.js",
|
|
61
|
+
"packageFile": "src/math/api.js",
|
|
62
|
+
"bytes": 5109,
|
|
63
|
+
"sha256": "2611332afa0065df89c83339fd1a2b1d08d8e0bae447aed8bead1187bac96c1b"
|
|
46
64
|
},
|
|
47
65
|
{
|
|
48
66
|
"file": "math/browser.js",
|
|
49
67
|
"packageFile": "src/math/browser.js",
|
|
50
|
-
"bytes":
|
|
51
|
-
"sha256": "
|
|
68
|
+
"bytes": 10172,
|
|
69
|
+
"sha256": "c56a36031169a40bbcbaa6be2b197945b5819ca0446392ae2142255ad2a5baa6"
|
|
52
70
|
},
|
|
53
71
|
{
|
|
54
|
-
"file": "math/
|
|
55
|
-
"packageFile": "src/math/
|
|
56
|
-
"bytes":
|
|
57
|
-
"sha256": "
|
|
72
|
+
"file": "math/mathml.js",
|
|
73
|
+
"packageFile": "src/math/mathml.js",
|
|
74
|
+
"bytes": 28871,
|
|
75
|
+
"sha256": "b337126ecbcfa078e0bd29ef5e33bce0f2b5f792e02935d29beb50ecdc7bbbeb"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"file": "math/semantic-api.js",
|
|
79
|
+
"packageFile": "src/math/semantic-api.js",
|
|
80
|
+
"bytes": 449,
|
|
81
|
+
"sha256": "973773cfc5f1066215c9ae4598515e6744dc74789ee5d9d5c1c6fec5058c6c2c"
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"file": "math/combined.js",
|
|
85
|
+
"packageFile": "src/math/combined.js",
|
|
86
|
+
"bytes": 649,
|
|
87
|
+
"sha256": "1291d53911fc91c7f544862bc41b1a23909748208d781e79d93fa35ff8618a22"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"file": "math/classic.js",
|
|
91
|
+
"packageFile": "src/math/classic.js",
|
|
92
|
+
"bytes": 269,
|
|
93
|
+
"sha256": "74b3c1332e179113286465e082d44515876fa784ec1d76142e6660f367a7604b"
|
|
58
94
|
}
|
|
59
95
|
],
|
|
60
96
|
"recipe": [
|
|
@@ -79,14 +115,14 @@
|
|
|
79
115
|
{
|
|
80
116
|
"file": "math/package-verify.mjs",
|
|
81
117
|
"packageFile": "tests/verify.mjs",
|
|
82
|
-
"bytes":
|
|
83
|
-
"sha256": "
|
|
118
|
+
"bytes": 3179,
|
|
119
|
+
"sha256": "5702cb77eb562b0230b145c09b8888b2b20bcf8dac92de19615aac99a0f09a47"
|
|
84
120
|
},
|
|
85
121
|
{
|
|
86
122
|
"file": "tools/build-math.mjs",
|
|
87
123
|
"packageFile": "src/tools/build-math.mjs",
|
|
88
|
-
"bytes":
|
|
89
|
-
"sha256": "
|
|
124
|
+
"bytes": 9573,
|
|
125
|
+
"sha256": "ef053202ffc95e9ae801be789356775381d18c9ab1ac16aa28ee941294bb328e"
|
|
90
126
|
},
|
|
91
127
|
{
|
|
92
128
|
"file": "math/LICENSE-MIT",
|
|
@@ -97,38 +133,50 @@
|
|
|
97
133
|
{
|
|
98
134
|
"file": "math/adoption-verify.mjs",
|
|
99
135
|
"packageFile": "tests/adoption.mjs",
|
|
100
|
-
"bytes":
|
|
101
|
-
"sha256": "
|
|
136
|
+
"bytes": 15517,
|
|
137
|
+
"sha256": "02e22c51e0c71de1fe992b3fddde04e2e2cfc482d1c05aa1467a1c97c7d63b58"
|
|
102
138
|
},
|
|
103
139
|
{
|
|
104
140
|
"file": "math/package-build.mjs",
|
|
105
141
|
"packageFile": "src/math/package-build.mjs",
|
|
106
|
-
"bytes":
|
|
107
|
-
"sha256": "
|
|
142
|
+
"bytes": 1252,
|
|
143
|
+
"sha256": "d5a3562438e4e5f92796186b53d29afe71cd8f2266b65ef77b6e44e459598e79"
|
|
108
144
|
},
|
|
109
145
|
{
|
|
110
146
|
"file": "math/package-layout.mjs",
|
|
111
147
|
"packageFile": "src/math/package-layout.mjs",
|
|
112
|
-
"bytes":
|
|
113
|
-
"sha256": "
|
|
148
|
+
"bytes": 832,
|
|
149
|
+
"sha256": "6c693d84a10a21cc306afcefcb188279a2c5ca5cfdf6b4d808f933a8ea12d74a"
|
|
114
150
|
},
|
|
115
151
|
{
|
|
116
152
|
"file": "math/package-check.mjs",
|
|
117
153
|
"packageFile": "tests/check.mjs",
|
|
118
|
-
"bytes":
|
|
119
|
-
"sha256": "
|
|
154
|
+
"bytes": 8662,
|
|
155
|
+
"sha256": "b9bb518590aa85a3e3e6f14bbc149b112ec73ca05259234358a8460a2ada28f3"
|
|
120
156
|
},
|
|
121
157
|
{
|
|
122
158
|
"file": "math/package-readme.mjs",
|
|
123
159
|
"packageFile": "src/math/package-readme.mjs",
|
|
124
|
-
"bytes":
|
|
125
|
-
"sha256": "
|
|
160
|
+
"bytes": 2682,
|
|
161
|
+
"sha256": "8cb6381d64e39150249e8e38fe6b51d2e0de1f800421cb35f6ed1a005d40a1be"
|
|
126
162
|
},
|
|
127
163
|
{
|
|
128
164
|
"file": "math/README.md",
|
|
129
165
|
"packageFile": "docs/api.md",
|
|
130
|
-
"bytes":
|
|
131
|
-
"sha256": "
|
|
166
|
+
"bytes": 23108,
|
|
167
|
+
"sha256": "2b79d323c03ba11e6c051d07f4cd688ec9b1f68479c831f426ec276c36ed7b2c"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"file": "math/SEMANTICS.md",
|
|
171
|
+
"packageFile": "docs/semantics.md",
|
|
172
|
+
"bytes": 18096,
|
|
173
|
+
"sha256": "c1b63412b38fc96f3b96161584f01ea0eddd194a98d27cd535a5007ba3936847"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"file": "math/semantic-verify.mjs",
|
|
177
|
+
"packageFile": "tests/semantics.mjs",
|
|
178
|
+
"bytes": 27391,
|
|
179
|
+
"sha256": "9fc8a03da77d3532a0aaa69e02d773aaa9e9aa5e3386b666acb27a4b0079ffdb"
|
|
132
180
|
}
|
|
133
181
|
],
|
|
134
182
|
"components": [
|
|
@@ -175,20 +223,20 @@
|
|
|
175
223
|
{
|
|
176
224
|
"file": "math/integration.mjs",
|
|
177
225
|
"packageFile": "dist/integration.mjs",
|
|
178
|
-
"bytes":
|
|
179
|
-
"sha256": "
|
|
226
|
+
"bytes": 5627,
|
|
227
|
+
"sha256": "932ec8827f4127313289a8823d4399594fba8c969c9a67ea326b3d8e830879ff"
|
|
180
228
|
},
|
|
181
229
|
{
|
|
182
230
|
"file": "math/markdown-it.mjs",
|
|
183
231
|
"packageFile": "dist/markdown-it.mjs",
|
|
184
|
-
"bytes":
|
|
185
|
-
"sha256": "
|
|
232
|
+
"bytes": 2836,
|
|
233
|
+
"sha256": "043d93226f051923f87bbe424ffe997e30b3feee0f51a74456adaf399d8da07c"
|
|
186
234
|
},
|
|
187
235
|
{
|
|
188
236
|
"file": "math/rehype.mjs",
|
|
189
237
|
"packageFile": "dist/rehype.mjs",
|
|
190
|
-
"bytes":
|
|
191
|
-
"sha256": "
|
|
238
|
+
"bytes": 3185,
|
|
239
|
+
"sha256": "e10dc1c2e2d5ec6dc50774639e3ba1897c111885b50e1129dd5ed8a1b393d73b"
|
|
192
240
|
},
|
|
193
241
|
{
|
|
194
242
|
"file": "math/stream.mjs",
|
|
@@ -196,17 +244,47 @@
|
|
|
196
244
|
"bytes": 3795,
|
|
197
245
|
"sha256": "955eb703796d5ca11d35859c3aa9dcebeea143b02e2cc4e65df219c6a6263baf"
|
|
198
246
|
},
|
|
247
|
+
{
|
|
248
|
+
"file": "math/accessible.mjs",
|
|
249
|
+
"packageFile": "dist/accessible.mjs",
|
|
250
|
+
"bytes": 1214,
|
|
251
|
+
"sha256": "e56c5ca4571b618053ba33d40eafd39aa3149b007c3e54f0650f884eafc3ebad"
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"file": "math/accessible.css",
|
|
255
|
+
"packageFile": "dist/accessible.css",
|
|
256
|
+
"bytes": 270,
|
|
257
|
+
"sha256": "ef27e900c08490d36b7c933bcd585b362f8813700cd9f3d728956b8c21d40b42"
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"file": "math/mathml.d.ts",
|
|
261
|
+
"packageFile": "dist/mathml.d.ts",
|
|
262
|
+
"bytes": 291,
|
|
263
|
+
"sha256": "2e9eaad52c9c7ad764db55fd2c95fa7cec434cec865d368c934925f59f9abe31"
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"file": "math/combined.d.ts",
|
|
267
|
+
"packageFile": "dist/combined.d.ts",
|
|
268
|
+
"bytes": 286,
|
|
269
|
+
"sha256": "5f3837d9bb0c095365a387ce88ae0c4bccd538ba75d08152a2a540c51278d7d7"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"file": "math/accessible.d.ts",
|
|
273
|
+
"packageFile": "dist/accessible.d.ts",
|
|
274
|
+
"bytes": 582,
|
|
275
|
+
"sha256": "d2d2285c084c19b87dae6c1a538b4711233dffd50098fa08bac3b8d41aa43cd3"
|
|
276
|
+
},
|
|
199
277
|
{
|
|
200
278
|
"file": "math/index.d.ts",
|
|
201
279
|
"packageFile": "dist/index.d.ts",
|
|
202
|
-
"bytes":
|
|
203
|
-
"sha256": "
|
|
280
|
+
"bytes": 2335,
|
|
281
|
+
"sha256": "cca3217cc1c5c1787b2d13fd8accf0e7fbc5bd7e55429ba8ec8657eac7eb9e18"
|
|
204
282
|
},
|
|
205
283
|
{
|
|
206
284
|
"file": "math/classic.d.ts",
|
|
207
285
|
"packageFile": "dist/classic.d.ts",
|
|
208
|
-
"bytes":
|
|
209
|
-
"sha256": "
|
|
286
|
+
"bytes": 349,
|
|
287
|
+
"sha256": "0415467509e356a5372caa0778586242de8cc0405aaa5b9db62b231d2f81de39"
|
|
210
288
|
},
|
|
211
289
|
{
|
|
212
290
|
"file": "math/delimiters.d.ts",
|
|
@@ -217,8 +295,8 @@
|
|
|
217
295
|
{
|
|
218
296
|
"file": "math/integration.d.ts",
|
|
219
297
|
"packageFile": "dist/integration.d.ts",
|
|
220
|
-
"bytes":
|
|
221
|
-
"sha256": "
|
|
298
|
+
"bytes": 1029,
|
|
299
|
+
"sha256": "8f69318a973d37f8491799c12c28ce66e9512e7f1b09009fa0601be86bdea649"
|
|
222
300
|
},
|
|
223
301
|
{
|
|
224
302
|
"file": "math/markdown-it.d.ts",
|
|
@@ -238,6 +316,24 @@
|
|
|
238
316
|
"bytes": 2162,
|
|
239
317
|
"sha256": "1e74da8185bbc55d6987ecaa4806a4215f5f893f49590c400c70edcb2c5c1f87"
|
|
240
318
|
},
|
|
319
|
+
{
|
|
320
|
+
"file": "math/examples/semantic.mjs",
|
|
321
|
+
"packageFile": "examples/semantic.mjs",
|
|
322
|
+
"bytes": 675,
|
|
323
|
+
"sha256": "dc126ece12227c92d12d247bb76ab1bcb5a04849fade307f2725b1da75070f17"
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"file": "math/examples/accessible.html",
|
|
327
|
+
"packageFile": "examples/accessible.html",
|
|
328
|
+
"bytes": 1339,
|
|
329
|
+
"sha256": "c8d493fe7e66e299ebd90568153b2c44ba1fab31c934056ba233a06697523c9f"
|
|
330
|
+
},
|
|
331
|
+
{
|
|
332
|
+
"file": "math/examples/accessible.mjs",
|
|
333
|
+
"packageFile": "examples/accessible.mjs",
|
|
334
|
+
"bytes": 2077,
|
|
335
|
+
"sha256": "3c2963704cc43b92f66313b27d46c9d30678aa147c853e1b84343f3dd69b3eac"
|
|
336
|
+
},
|
|
241
337
|
{
|
|
242
338
|
"file": "math/examples/formula.mjs",
|
|
243
339
|
"packageFile": "examples/formula.mjs",
|
|
@@ -289,8 +385,8 @@
|
|
|
289
385
|
{
|
|
290
386
|
"file": "math/examples/README.md",
|
|
291
387
|
"packageFile": "examples/README.md",
|
|
292
|
-
"bytes":
|
|
293
|
-
"sha256": "
|
|
388
|
+
"bytes": 2881,
|
|
389
|
+
"sha256": "97d7028dc1707b309abd073e59c98f94727ba89aa00177e69ed31b0720ba4d91"
|
|
294
390
|
}
|
|
295
391
|
]
|
|
296
392
|
}
|