@bhsd/codemirror-mediawiki 2.3.4 → 2.4.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 +10 -4
- package/dist/main.min.js +12 -12
- package/dist/mw.min.js +1 -1
- package/dist/mw.min.js.map +3 -3
- package/i18n/en.json +10 -8
- package/i18n/zh-hans.json +10 -8
- package/i18n/zh-hant.json +10 -8
- package/mediawiki.css +6 -0
- package/mw/base.ts +3 -4
- package/mw/msg.ts +6 -16
- package/package.json +6 -4
package/README.md
CHANGED
|
@@ -215,23 +215,29 @@ cm.prefer([
|
|
|
215
215
|
'allowMultipleSelections',
|
|
216
216
|
'bracketMatching',
|
|
217
217
|
'closeBrackets',
|
|
218
|
-
'escape',
|
|
219
|
-
'codeFolding',
|
|
220
218
|
'highlightActiveLine',
|
|
221
219
|
'highlightSpecialChars',
|
|
222
220
|
'highlightWhitespace',
|
|
223
221
|
'highlightTrailingWhitespace',
|
|
222
|
+
|
|
223
|
+
// only available in MediaWiki mode
|
|
224
|
+
'escape',
|
|
225
|
+
'codeFolding',
|
|
226
|
+
'tagMatching',
|
|
224
227
|
]);
|
|
225
228
|
cm.prefer({
|
|
226
229
|
allowMultipleSelections: false,
|
|
227
230
|
bracketMatching: false,
|
|
228
231
|
closeBrackets: false,
|
|
229
|
-
escape: false,
|
|
230
|
-
codeFolding: false,
|
|
231
232
|
highlightActiveLine: false,
|
|
232
233
|
highlightSpecialChars: false,
|
|
233
234
|
highlightWhitespace: false,
|
|
234
235
|
highlightTrailingWhitespace: false,
|
|
236
|
+
|
|
237
|
+
// only available in MediaWiki mode
|
|
238
|
+
escape: false,
|
|
239
|
+
codeFolding: false,
|
|
240
|
+
tagMatching: false,
|
|
235
241
|
});
|
|
236
242
|
```
|
|
237
243
|
|