@mdit/plugin-mathjax-slim 0.16.0 → 0.17.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 +5 -5
- package/lib/index.d.ts +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# @mdit/plugin-mathjax
|
|
1
|
+
# @mdit/plugin-mathjax-slim
|
|
2
2
|
|
|
3
|
-
[  ](https://www.npmjs.com/package/@mdit/plugin-mathjax)
|
|
3
|
+
[  ](https://www.npmjs.com/package/@mdit/plugin-mathjax-slim)
|
|
4
4
|
|
|
5
5
|
mathjax plugin for MarkdownIt.
|
|
6
6
|
|
|
@@ -10,9 +10,9 @@ mathjax plugin for MarkdownIt.
|
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
12
|
# pnpm
|
|
13
|
-
pnpm add -D @mdit/plugin-mathjax
|
|
13
|
+
pnpm add -D @mdit/plugin-mathjax-slim mathjax-full
|
|
14
14
|
# npm
|
|
15
|
-
npm i -D @mdit/plugin-mathjax
|
|
15
|
+
npm i -D @mdit/plugin-mathjax-slim mathjax-full
|
|
16
16
|
# yarn
|
|
17
|
-
yarn add -D @mdit/plugin-mathjax
|
|
17
|
+
yarn add -D @mdit/plugin-mathjax-slim mathjax-full
|
|
18
18
|
```
|
package/lib/index.d.ts
CHANGED
|
@@ -281,4 +281,5 @@ interface MathjaxInstance extends Required<Pick<MarkdownItMathjaxOptions, "allow
|
|
|
281
281
|
declare const createMathjaxInstance: (options?: MarkdownItMathjaxOptions) => MathjaxInstance | null;
|
|
282
282
|
declare const mathjax: (md: MarkdownIt, { allowInlineWithSpace, adaptor, documentOptions, mathFence, transformer, }: MathjaxInstance) => void;
|
|
283
283
|
|
|
284
|
-
export {
|
|
284
|
+
export { createMathjaxInstance, getDocumentOptions, mathjax };
|
|
285
|
+
export type { DocumentOptions, MarkdownItMathjaxOptions, MathJaxTexInputOptions, MathjaxCommonHTMLOutputOptions, MathjaxCommonOutputOptions, MathjaxInstance, MathjaxSVGOutputOptions, TeXTransformer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdit/plugin-mathjax-slim",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.17.0",
|
|
4
4
|
"description": "mathjax plugin for MarkdownIt",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"markdown-it",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@types/markdown-it": "^14.1.2",
|
|
40
40
|
"upath": "^2.0.1",
|
|
41
|
-
"@mdit/plugin-tex": "0.
|
|
41
|
+
"@mdit/plugin-tex": "0.17.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"mathjax-full": "3.2.2"
|