@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 CHANGED
@@ -1,6 +1,6 @@
1
- # @mdit/plugin-mathjax
1
+ # @mdit/plugin-mathjax-slim
2
2
 
3
- [![Version](https://img.shields.io/npm/v/@mdit/plugin-mathjax.svg?style=flat-square&logo=npm) ![Downloads](https://img.shields.io/npm/dm/@mdit/plugin-mathjax.svg?style=flat-square&logo=npm) ![Size](https://img.shields.io/bundlephobia/min/@mdit/plugin-mathjax?style=flat-square&logo=npm)](https://www.npmjs.com/package/@mdit/plugin-mathjax)
3
+ [![Version](https://img.shields.io/npm/v/@mdit/plugin-mathjax-slim.svg?style=flat-square&logo=npm) ![Downloads](https://img.shields.io/npm/dm/@mdit/plugin-mathjax-slim.svg?style=flat-square&logo=npm) ![Size](https://img.shields.io/bundlephobia/min/@mdit/plugin-mathjax-slim?style=flat-square&logo=npm)](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 { type DocumentOptions, type MarkdownItMathjaxOptions, type MathJaxTexInputOptions, type MathjaxCommonHTMLOutputOptions, type MathjaxCommonOutputOptions, type MathjaxInstance, type MathjaxSVGOutputOptions, type TeXTransformer, createMathjaxInstance, getDocumentOptions, mathjax };
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.16.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.16.0"
41
+ "@mdit/plugin-tex": "0.17.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "mathjax-full": "3.2.2"