[pmwiki-users] Major rewrite: CodeMirror

Dominique Faure dominique.faure at gmail.com
Tue Dec 23 18:12:53 CST 2014


Hi,

I finally managed to get a large enough free-time span to build and
deliver a quite stable new version of the CodeMirror recipe
(http://www.pmwiki.org/wiki/Cookbook/CodeMirror).

For the record, this recipe provides the CodeMirror JavaScript text
editor component to PmWiki, enabling both:

* An enhanced page editing experience with pmwiki syntax highlighting,
line numbers and line wrapping,

* A generic syntax highlighting renderer for your source code excerpts.

As pointed out as caveats/known limitation on the recipe page, the
PmWiki language is a very convenient markup set for the user,
therefore writing a syntaxic highlighter for it is rather hard. The
one provided is far from perfect, but should be able to render most of
the language features.

The syntax colors/styles proposed really need to be improved.
Fell free to provide better style definitions.


Regards,
-- 
Dominique



More information about the pmwiki-users mailing list