Help:Syntax Highlighting: Difference between revisions

m
→‎Supported languages: Add a note about timings for new syntax highlighter lexers
m (missed some)
m (→‎Supported languages: Add a note about timings for new syntax highlighter lexers)
Line 24:
 
If you'd like to, it's not difficult to write a new language definition for Pygments. See [https://pygments.org/docs/lexerdevelopment/ Write your own lexer] for more on adding support for a new language.
 
<div style="background-color:#eee;padding:1em;>
'''''Note:''' There will likely be significant lag between a new lexer being added to Pygments, and the new syntax highlighting being available on Rosetta Code.''
 
''Once the new lexer is added to Pygments, it won't be available until Pygments has a release.''
 
''We would then need to wait for MediaWiki bump the Pygments version in the package and release a new version.''
 
'''''Then''' we would need to wait for Miraheze to update to the version of MediaWiki software that includes the updated Pygments package.''
 
''A multiple month delay is expected, a several year delay is not out of the question.''</div>
 
===Recommended language tag usage===
10,327

edits