@bhsd/codemirror-mediawiki 2.12.6 → 2.13.1
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 +1 -1
- package/dist/config.d.ts +3 -0
- package/dist/fold.d.ts +1 -0
- package/dist/main.min.js +15 -15
- package/dist/matchTag.d.ts +4 -4
- package/dist/mediawiki.d.ts +203 -0
- package/dist/mw.min.js +21 -23
- package/i18n/en.json +1 -12
- package/i18n/zh-hans.json +3 -1
- package/i18n/zh-hant.json +3 -1
- package/mediawiki.css +10 -5
- package/package.json +7 -5
package/README.md
CHANGED
|
@@ -499,7 +499,7 @@ Key bindings:
|
|
|
499
499
|
|
|
500
500
|
*version added: 2.3.0*
|
|
501
501
|
|
|
502
|
-
Fold templates, parser functions and extension tags in the MediaWiki mode, and code blocks in other modes.
|
|
502
|
+
Fold sections, templates, parser functions and extension tags in the MediaWiki mode, and code blocks in other modes.
|
|
503
503
|
|
|
504
504
|
Key bindings:
|
|
505
505
|
|
package/dist/config.d.ts
CHANGED
|
@@ -18,6 +18,7 @@ declare const modeConfig: {
|
|
|
18
18
|
* HTML tags that are only self-closing.
|
|
19
19
|
*/
|
|
20
20
|
voidHtmlTags: string[];
|
|
21
|
+
selfClosingTags: string[];
|
|
21
22
|
/**
|
|
22
23
|
* Mapping of MediaWiki-esque token identifiers to a standardized lezer highlighting tag.
|
|
23
24
|
* Values are one of the default highlighting tags.
|
|
@@ -41,6 +42,7 @@ declare const modeConfig: {
|
|
|
41
42
|
extTagAttribute: string;
|
|
42
43
|
extTagBracket: string;
|
|
43
44
|
extTagName: string;
|
|
45
|
+
fileText: string;
|
|
44
46
|
freeExtLink: string;
|
|
45
47
|
freeExtLinkProtocol: string;
|
|
46
48
|
hr: string;
|
|
@@ -70,6 +72,7 @@ declare const modeConfig: {
|
|
|
70
72
|
tableCaption: string;
|
|
71
73
|
tableDefinition: string;
|
|
72
74
|
tableDelimiter: string;
|
|
75
|
+
tableDelimiter2: string;
|
|
73
76
|
template: string;
|
|
74
77
|
templateArgumentName: string;
|
|
75
78
|
templateBracket: string;
|
package/dist/fold.d.ts
CHANGED