@bhsd/codemirror-mediawiki 2.20.1 → 2.20.3
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 +14 -1
- package/dist/main.min.js +13 -13
- package/dist/mw.min.js +14 -14
- package/dist/mwConfig.mjs +2 -2
- package/dist/wiki.min.js +14 -14
- package/i18n/en.json +1 -1
- package/i18n/zh-hans.json +1 -1
- package/i18n/zh-hant.json +1 -1
- package/mediawiki.css +4 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/@bhsd/codemirror-mediawiki)
|
|
2
2
|
[](https://github.com/bhsd-harry/codemirror-mediawiki/actions/workflows/codeql.yml)
|
|
3
3
|
[](https://www.npmjs.com/package/@bhsd/codemirror-mediawiki)
|
|
4
|
-
[](https://app.codacy.com/gh/bhsd-harry/codemirror-mediawiki/dashboard)
|
|
5
5
|
|
|
6
6
|
<details>
|
|
7
7
|
<summary>Expand</summary>
|
|
@@ -48,6 +48,8 @@
|
|
|
48
48
|
- [tagMatching](#tagmatching)
|
|
49
49
|
- [refHover](#refhover)
|
|
50
50
|
- [openLinks](#openlinks)
|
|
51
|
+
- [Known issues](#known-issues)
|
|
52
|
+
- [Syntax Highlighting](#syntax-highlighting)
|
|
51
53
|
|
|
52
54
|
</details>
|
|
53
55
|
|
|
@@ -557,3 +559,14 @@ Show the content of the `<ref>` tag defined elsewhere when hovering.
|
|
|
557
559
|
*version added: 2.19.6*
|
|
558
560
|
|
|
559
561
|
CTRL/CMD-click opens a link in a new tab.
|
|
562
|
+
|
|
563
|
+
# Known issues
|
|
564
|
+
|
|
565
|
+
## Syntax Highlighting
|
|
566
|
+
|
|
567
|
+
1. Preformatted text with a leading space may have false positives.
|
|
568
|
+
1. Template parameter name followed by a newline ([Example](http://bhsd-harry.github.io/codemirror-mediawiki/tests.html#Templates%3A%20Handle%20comments%20in%20parameter%20names%20(T69657))).
|
|
569
|
+
1. Wikitext in template parameter names ([Example](http://bhsd-harry.github.io/codemirror-mediawiki/tests.html#Templates%3A%20Other%20wikitext%20in%20parameter%20names%20(T69657))).
|
|
570
|
+
1. Double URI encoding in link targets ([Example](http://bhsd-harry.github.io/codemirror-mediawiki/tests.html#Link%20containing%20%25%20as%20a%20double%20hex%20sequence%20interpreted%20to%20hex%20sequence)).
|
|
571
|
+
1. Double HTML escaping in link targets ([Example](http://bhsd-harry.github.io/codemirror-mediawiki/tests.html#Link%20containing%20an%20ampersand)).
|
|
572
|
+
1. Comments at the start of a line ([Example](https://bhsd-harry.github.io/codemirror-mediawiki/tests.html#1.%20Lists%20with%20start-of-line-transparent%20tokens%20before%20bullets%3A%20Comments)).
|