Syntax highlight support

6 views
Skip to first unread message

Samuel Lebeau

unread,
Oct 21, 2009, 3:32:26 PM10/21/09
to pd...@googlegroups.com
Hi folks,

I've just pushed syntax highlight support to a new branch.

It works on Prototype documentation, but you should try it on your own
projects before we merge it into master.
You just have to add the `:syntax_highlighter` option to the
`PDoc::Runner` constructor, available options are `:none`, `:coderay`,
and `:pygments`.

I'm not sure how easy it is to use pygments on Windows though...

Here is the commit:
http://github.com/tobie/pdoc/commit/1016fcea4a0260b6768e20362c6fe64d7d05f99a

Best,
Samuel.

Reply all
Reply to author
Forward
0 new messages