[Snowball-discuss] Snowball Plugin for Pygments Syntax Highlighter
Hajime Senuma
hajime.senuma at gmail.com
Sun Apr 14 19:16:17 BST 2013
Hello all,
I wrote a Snowball lexer plugin for Pygments, a popular syntax highlighter
written with Python:
https://github.com/hajimes/pygments-snowball.
For ease of implementation, the lexer has a defect that it assumes
stringescapes are curly brackets, but it'll work for most Snowball codes.
I would be glad if you could use this to make codes in your html documents
more readable.
I'm also willing to receive any suggestions before I commit the lexer to
the official Pygments repo.
Below are two output examples of Pygments Snowball Plugin.
Default(-styled) Porter Snowball:
http://htmlpreview.github.io/?https://github.com/hajimes/pygments-snowball/blob/master/sample_output/porter.html
Colorful Russian Snowball (far more vivid than colorless green):
http://htmlpreview.github.io/?https://github.com/hajimes/pygments-snowball/blob/master/sample_output/russian_colorful.html
Thanks,
Hajime
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.tartarus.org/mailman/private/snowball-discuss/attachments/20130415/5a5abcb2/attachment.htm>
More information about the Snowball-discuss
mailing list