@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 CHANGED
@@ -1,7 +1,7 @@
1
1
  [![npm version](https://badge.fury.io/js/@bhsd%2Fcodemirror-mediawiki.svg)](https://www.npmjs.com/package/@bhsd/codemirror-mediawiki)
2
2
  [![CodeQL](https://github.com/bhsd-harry/codemirror-mediawiki/actions/workflows/codeql.yml/badge.svg)](https://github.com/bhsd-harry/codemirror-mediawiki/actions/workflows/codeql.yml)
3
3
  [![jsDelivr hits (npm scoped)](https://img.shields.io/jsdelivr/npm/hm/%40bhsd/codemirror-mediawiki)](https://www.npmjs.com/package/@bhsd/codemirror-mediawiki)
4
- [![codebeat badge](https://codebeat.co/badges/fd9f2c17-3d49-41ef-9922-314dea1ca46a)](https://codebeat.co/projects/github-com-bhsd-harry-codemirror-mediawiki-npm)
4
+ [![Codacy Badge](https://app.codacy.com/project/badge/Grade/972fd5f6684c4fd8ac2f26e01d349948)](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)).