User talk:Chkas
Syntax highlighting
I notice that you have been modifying the syntax highlighting for EasyLang entries. Quoting an excerpt from the syntax highlighting guide:
The standard markup to highlight a block of source code in Mediawiki is
<syntaxhighlight lang="languagename"> Code </syntaxhighlight>
where languagename is the lowercase name of the lexer for Pygments to use to do the parsing. There is not a default parser. The language parameter must have a value.
<syntaxhighlight></syntaxhighlight>
is an error. If Pygments doesn't have a lexer for your language, or you don't know which one to use,
lang="text"
is a safe, if boring choice.
Having the bare <syntaxhighlight> is just adding parsing errors to the page. --Thundergnat (talk) 12:16, 18 July 2024 (UTC)
I'm sorry. I thought that the lang option would not be necessary and it would then behave like an unknown language. I will then change everything back to lang="text". --Chkas (talk) 18:54, 18 July 2024 (UTC)