@cnblogs/markdown-it-presets 1.9.6 → 1.9.8
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/dist/es2015/index.mjs +3 -893
- package/dist/es2015/index.mjs.map +1 -0
- package/dist/es2015/math/factory.mjs +13 -0
- package/dist/es2015/math/factory.mjs.map +1 -0
- package/dist/es2015/math/impl.mjs +160 -0
- package/dist/es2015/math/impl.mjs.map +1 -0
- package/dist/es2015/math/index.mjs +3 -210
- package/dist/es2015/math/index.mjs.map +1 -0
- package/dist/es2015/math/model.mjs +20 -0
- package/dist/es2015/math/model.mjs.map +1 -0
- package/dist/es2015/presets/index.mjs +101 -681
- package/dist/es2015/presets/index.mjs.map +1 -0
- package/dist/es2015/presets/option.mjs +27 -0
- package/dist/es2015/presets/option.mjs.map +1 -0
- package/dist/es2015/presets/plugins/highlight-code-lines.plugin.mjs +49 -0
- package/dist/es2015/presets/plugins/highlight-code-lines.plugin.mjs.map +1 -0
- package/dist/es2015/presets/plugins/html-filter.plugin.mjs +43 -0
- package/dist/es2015/presets/plugins/html-filter.plugin.mjs.map +1 -0
- package/dist/es2015/presets/plugins/index.mjs +8 -0
- package/dist/es2015/presets/plugins/index.mjs.map +1 -0
- package/dist/es2015/presets/plugins/meta.mjs +36 -0
- package/dist/es2015/presets/plugins/meta.mjs.map +1 -0
- package/dist/es2015/presets/plugins/multiline-blockquote/multiline-blockquote.plugin.mjs +11 -0
- package/dist/es2015/presets/plugins/multiline-blockquote/multiline-blockquote.plugin.mjs.map +1 -0
- package/dist/es2015/presets/plugins/multiline-blockquote/multiline-blockquote.rule.mjs +40 -0
- package/dist/es2015/presets/plugins/multiline-blockquote/multiline-blockquote.rule.mjs.map +1 -0
- package/dist/es2015/presets/plugins/simple-math.plugin.mjs +147 -0
- package/dist/es2015/presets/plugins/simple-math.plugin.mjs.map +1 -0
- package/dist/es2015/presets/plugins/simple-mermaid.plugin.mjs +17 -0
- package/dist/es2015/presets/plugins/simple-mermaid.plugin.mjs.map +1 -0
- package/dist/es2015/presets/plugins/toc/index.mjs +184 -0
- package/dist/es2015/presets/plugins/toc/index.mjs.map +1 -0
- package/dist/es2015/presets/plugins/toc/slugify.mjs +5 -0
- package/dist/es2015/presets/plugins/toc/slugify.mjs.map +1 -0
- package/dist/es2015/presets/plugins/toc/toc-item.mjs +2 -0
- package/dist/es2015/presets/plugins/toc/toc-item.mjs.map +1 -0
- package/dist/es2015/presets/plugins/toc/toc-option.mjs +15 -0
- package/dist/es2015/presets/plugins/toc/toc-option.mjs.map +1 -0
- package/dist/es2015/presets/plugins/unique-custom-id.mjs +27 -0
- package/dist/es2015/presets/plugins/unique-custom-id.mjs.map +1 -0
- package/dist/types/index.d.ts +2 -2
- package/dist/types/presets/index.d.ts +2 -2
- package/dist/umd/markdownItPresets.js +1 -1
- package/package.json +6 -5
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cnblogs/markdown-it-presets",
|
|
3
|
-
"version": "1.9.
|
|
3
|
+
"version": "1.9.8",
|
|
4
4
|
"description": "Markdown-it configuration for cnblogs.com",
|
|
5
5
|
"repository": "git@github.com:cnblogs/packages.git",
|
|
6
6
|
"main": "index.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"scripts": {
|
|
28
28
|
"build": "shx rm -rf ./dist/** && npm run build:umd && npm run build:commonjs && npm run build:es2015 && shx cp -r ./src/presets/styles ./dist && npm run build:types",
|
|
29
29
|
"build:umd": "webpack --config webpack.config.mjs && shx mkdir -p ./dist/styles && shx mv ./dist/umd/styles/** ./dist/styles/ && shx rm -rf ./dist/umd/styles",
|
|
30
|
-
"build:es2015": "shx rm -rf ./out-tsc/** &&
|
|
31
|
-
"build:commonjs": "tsup --config tsup.config.js",
|
|
30
|
+
"build:es2015": "shx rm -rf ./out-tsc/** && tsc -p ./ -m es2015 --declaration true --declarationDir ./out-tsc/ --declarationMap false -m es2015 --outDir dist/es2015 && renamer --find .js --replace .mjs \"dist/es2015/**\"",
|
|
31
|
+
"build:commonjs": "tsup --config tsup.config.js --format cjs",
|
|
32
32
|
"build:types": "api-extractor run --local -c api-extractor.json --verbose && api-extractor run --local -c api-extractor-math.json && api-extractor run --local -c api-extractor-presets.json",
|
|
33
33
|
"inspect": "webpack --config webpack.config.js --profile --json > dist/umd/stats.json && webpack-bundle-analyzer dist/umd/stats.json",
|
|
34
34
|
"test": "NODE_OPTIONS=\"--experimental-specifier-resolution=node\" jest",
|
|
35
35
|
"format": "prettier --write ."
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@cnblogs/load-script-css": "^1.6.0
|
|
38
|
+
"@cnblogs/load-script-css": "^1.6.0",
|
|
39
39
|
"github-slugger": "^1.3.0",
|
|
40
40
|
"markdown-it": "npm:@cnblogs-gitlab/markdown-it@^12.3.2",
|
|
41
41
|
"markdown-it-abbr": "^1.0.4",
|
|
@@ -109,5 +109,6 @@
|
|
|
109
109
|
"tslint.json",
|
|
110
110
|
"tsconfig.base.json",
|
|
111
111
|
"tsconfig.json"
|
|
112
|
-
]
|
|
112
|
+
],
|
|
113
|
+
"sideEffects": false
|
|
113
114
|
}
|