<div dir="ltr">Can CodeMirror adjust its markup?  Look for (:source...:) instead of (:code...:)?  That might be an option as well, and might be worth checking.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 15, 2019 at 9:56 AM Johan Bengtsson <<a href="mailto:elijah@chalmers.se">elijah@chalmers.se</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Mon, 15 Jul 2019, Dominique Faure wrote:<br>
<br>
> Hi,<br>
> Feel free to have a try with the CodeMirror recipe (<a href="https://pmwiki.org/wiki/Cookbook/CodeMirror" rel="noreferrer" target="_blank">https://pmwiki.org/wiki/Cookbook/CodeMirror</a>).<br>
<br>
Thanks for the tip, I'll try that!<br>
<br>
> 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.<br>
> It shouldn't be too difficult to write a compatibility recipe able to translate SourceBlock (:source... :) blocks into CodeMirror (:code...:) ones.<br>
<br>
If it works maybe I will do search & replace with sed/WikiSh...<br>
<br>
-Johan Bengtsson<br>
<br>
_______________________________________________<br>
pmwiki-users mailing list<br>
<a href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
<a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" rel="noreferrer" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
</blockquote></div>