Help talk:Syntax Highlighting: Difference between revisions

m
Question -- bolding of recommended language tags
m (Question -- bolding of recommended language tags)
 
(7 intermediate revisions by 3 users not shown)
Line 58:
::I actually read that page before asking here. It explains about GeSHi and how to create a php file for syntax highlighting. It seems like a small fix, though. Should I really go through the whole process of creating a new style file and submitting it? Perhaps there's a easier way to report this bug. Doing something like "[[Rosetta Code:Village Pump/Syntax highlighting#MATLAB problem]]" would be considered a bug report? --[[User:Luispauloml|Luispauloml]] ([[User talk:Luispauloml|talk]]) 17:50, 2 June 2017 (UTC)
 
:::Presumably the style file already exists and just needs to be fixed. Poking around a bit, the help page here says that we're using Geshi 1.0.8.10 while http://qbnz.com/highlighter/ says that version 1.0.9.0 has been released. So if you poke around in the [https://github.com/GeSHi/ source] you might be able to see whether the problem has been fixed already - if so, just need to hook up with [[User::Short_Circuit]] and see if there are any issues with upgrading. Or, if it's not been fixed in 1.0.9.0, maybe it has been fixed since then... anyways, if you want this fixed in a short time you'll need to dig in a bit and maybe both see that it gets fixed in geshi for the future and also identify a minimal change that can be deployed right now. Or, if you don't have the energy for that, I guess just don't use the lang tag - use pre or whatever? Anyways, good luck... --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 19:32, 2 June 2017 (UTC)
 
== Which version of GeSHi does this site support? ==
 
Does anyone know whether versions of GeSHi later than 1.0.8.10 are yet supported.
 
As I write this, the latest stable version appears to be 1.0.9.0 and includes support for a number of languages which, although recently added, still lack syntax highlighting on this site. These languages include Kotlin, Julia, Swift and Phix.
 
In the case of Kotlin one can use the Scala language tag instead though this isn't an ideal solution.--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 17:34, 30 September 2017 (UTC)
 
: That is an interesting question - according to the [[Special:Version|Version]] page, GeSHi is currently not actually an installed extension. [[User:Short Circuit|Short_Circuit]] would be the obvious person to talk to for more information. --[[User:Rdm|Rdm]] ([[User talk:Rdm|talk]]) 21:26, 30 September 2017 (UTC)
:: Strange it's not listed on the [[Special:Version|Version]] page but I'll ask [[User:Short Circuit|Short_Circuit]] where we are with this. Thanks.--[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 17:40, 1 October 2017 (UTC)
 
== Formatting "Recommended language tag usage"? ==
 
In "Recommended language tag usage" some of the tags are bold, some aren't. Some of the un-bold ones are GeSHi un-supported, but some are supported -- there doesn't seem to be a rhyme or reason. Should *all* the tags in the section be formatted bold? --[[User:Jeremydouglass|Jeremydouglass]] ([[User talk:Jeremydouglass|talk]]) 19:02, 18 March 2020 (UTC)