Details
-
New Feature
-
Resolution: Unresolved
-
Minor
-
None
-
11.10.3
-
None
-
Hard
-
Description
The Code Macro config dialog (in WYSIWYG editor) has a text input field to specify the "language" for code highlighting. Unfortunately, the info text for the box gives no indication what languages are actually supported and / or where to find this information:
Googling leads to https://extensions.xwiki.org/xwiki/bin/view/Extension/Code%20Macro/ where somewhere in the text is a link to https://pygments.org/languages/ .
However, this page also does not specify what exact string I have to enter into the text field to e.g. enable "Apache config files" or "E-mail headers" highlighting. I surely won't have to use the strings "Apache config files" or "E-mail headers" as listed on the page, rather something like just "apache" or "apacheconfig" or similar - but how to find out the exact name / label?
And, in general, if Xwiki uses this Pygments module, which version of it does it use? Does the list on the Pygments web site actually match the list of languages supported by my local LTS documentation?