wikiparser-node 1.1.1-b → 1.1.2-b
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.en.md +1 -1
- package/README.md +1 -1
- package/bundle/bundle.min.js +31 -31
- package/extensions/dist/base.js +65 -65
- package/extensions/dist/editor.js +147 -153
- package/extensions/dist/highlight.js +27 -36
- package/extensions/dist/lint.js +36 -35
- package/package.json +6 -3
package/README.en.md
CHANGED
|
@@ -16,7 +16,7 @@ wikiparser-node is an offline [Wikitext](https://www.mediawiki.org/wiki/Wikitext
|
|
|
16
16
|
|
|
17
17
|
This version provides a [CLI](https://en.wikipedia.org/wiki/Command-line_interface), but only retains the parsing functionality and linting functionality. The parsed AST cannot be modified. It is used in the [eslint-plugin-wikitext](https://www.npmjs.com/package/eslint-plugin-wikitext) plugin.
|
|
18
18
|
|
|
19
|
-
## Browser
|
|
19
|
+
## Browser-compatible
|
|
20
20
|
|
|
21
21
|
A browser-compatible version, which can be used for code highlighting or as a linting plugin in conjunction with the [CodeMirror5](https://codemirror.net/5/) editor. ([Usage example](https://bhsd-harry.github.io/wikiparser-node))
|
|
22
22
|
|
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ wikiparser-node 是一款由 Bhsd 开发的基于 [Node.js](https://nodejs.org/)
|
|
|
16
16
|
|
|
17
17
|
提供了 [CLI](https://en.wikipedia.org/wiki/Command-line_interface),但仅保留了解析功能和语法错误分析功能,解析生成的语法树不能修改。这个版本被应用于 [eslint-plugin-wikitext](https://www.npmjs.com/package/eslint-plugin-wikitext) 插件。
|
|
18
18
|
|
|
19
|
-
## Browser
|
|
19
|
+
## Browser-compatible
|
|
20
20
|
|
|
21
21
|
兼容浏览器的版本,可用于代码高亮或是搭配 [CodeMirror5](https://codemirror.net/5/) 编辑器作为语法分析插件。([使用实例展示](https://bhsd-harry.github.io/wikiparser-node))
|
|
22
22
|
|