[pmwiki-users] Syntax highlighting recipes

Johan Bengtsson elijah at chalmers.se
Mon Jul 15 06:55:33 PDT 2019


On Mon, 15 Jul 2019, Dominique Faure wrote:

> Hi,
> Feel free to have a try with the CodeMirror recipe (https://pmwiki.org/wiki/Cookbook/CodeMirror).

Thanks for the tip, I'll try that!

> When I managed to make work CodeMirror in rendering-only mode for all the extra languages, I found it a nice alternative to SourceBlock and its un-maintained GeSHI.
> It shouldn't be too difficult to write a compatibility recipe able to translate SourceBlock (:source... :) blocks into CodeMirror (:code...:) ones.

If it works maybe I will do search & replace with sed/WikiSh...

-Johan Bengtsson



More information about the pmwiki-users mailing list