@mdit/plugin-mathjax-slim 0.20.0 → 0.22.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.
Files changed (2) hide show
  1. package/README.md +3 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -2,7 +2,9 @@
2
2
 
3
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
- mathjax plugin for MarkdownIt.
5
+ Mathjax plugin for MarkdownIt. `mathjax-full` is declared as an optional peer dependency here.
6
+
7
+ This package can only run in Node.js environment.
6
8
 
7
9
  ## [Docs](https://mdit-plugins.github.io/mathjax.html) | [文档](https://mdit-plugins.github.io/zh/mathjax.html)
8
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mdit/plugin-mathjax-slim",
3
- "version": "0.20.0",
3
+ "version": "0.22.0",
4
4
  "description": "mathjax plugin for MarkdownIt",
5
5
  "keywords": [
6
6
  "markdown-it",
@@ -25,7 +25,7 @@
25
25
  "type": "module",
26
26
  "exports": {
27
27
  ".": {
28
- "type": "./lib/index.ts",
28
+ "type": "./lib/index.d.ts",
29
29
  "default": "./lib/index.js"
30
30
  },
31
31
  "./package.json": "./package.json"
@@ -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.20.0"
41
+ "@mdit/plugin-tex": "0.22.0"
42
42
  },
43
43
  "devDependencies": {
44
44
  "mathjax-full": "3.2.2"