Difference between revisions of "Category:Pages with syntax highlighting errors"
Jump to navigation
Jump to search
m |
m |
||
| Line 5: | Line 5: | ||
Super helpful, I know. Very Wiki of them! | Super helpful, I know. Very Wiki of them! | ||
| − | * All syntaxhighlight tags need a lang property set, if unsure use <syntaxhighlight lang="html" inline><syntaxhighlight lang="text"></syntaxhighlight> | + | * All syntaxhighlight tags need a [https://github.com/wikimedia/mediawiki-extensions-SyntaxHighlight_GeSHi/blob/master/SyntaxHighlight.lexers.php lang property] set, if unsure use <syntaxhighlight lang="html" inline><syntaxhighlight lang="text" inline></syntaxhighlight> |
* The markup/code should be valid, don't use comments in a json block, don't use console output in a lua block etc. | * The markup/code should be valid, don't use comments in a json block, don't use console output in a lua block etc. | ||
| − | * You can use the inline property for inline code | + | * You can use the inline property for inline code, the copy property to add a copy button and [https://www.mediawiki.org/wiki/Extension:SyntaxHighlight more] |
Revision as of 10:20, 16 February 2026
This page lists wiki pages that use Syntax Highlighting extension - but for whatever reason the extension refuses to highlight given texts within the pages listed.
Notice: This page is generated by the extension! It doesn't give any indication WHY the pages are listed, just that they have a problem...
Super helpful, I know. Very Wiki of them!
- All syntaxhighlight tags need a lang property set, if unsure use
<syntaxhighlight lang="text" inline> - The markup/code should be valid, don't use comments in a json block, don't use console output in a lua block etc.
- You can use the inline property for inline code, the copy property to add a copy button and more
Pages in category "Pages with syntax highlighting errors"
The following 3 pages are in this category, out of 3 total.