[pmwiki-users] Syntax highlighting recipes

Peter Kay pkay42 at gmail.com
Mon Jul 15 07:14:05 PDT 2019


Can CodeMirror adjust its markup?  Look for (:source...:) instead of
(:code...:)?  That might be an option as well, and might be worth checking.

On Mon, Jul 15, 2019 at 9:56 AM Johan Bengtsson <elijah at chalmers.se> wrote:

> 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
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20190715/6a9f327b/attachment.html>


More information about the pmwiki-users mailing list