n1k0 / SublimeHighlight

A humble SublimeText package for exporting highlighted code as RTF or HTML

Home Page:https://github.com/n1k0/SublimeHighlight

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add Pygments formatter options to SublimeHighlight.sublime-settings

chambery opened this issue · comments

I'd like to produce the HTML with styles inlined (instead of CSS with class refs). Pygments provides this option through the formatter.noclasses property.

I would nice to able to specify any of the formatter options in the Sublime Text settings (but at least noclasses :))

Stack Overflow has a snippet of how to do this in the Python:

http://stackoverflow.com/questions/624345/how-can-i-customize-the-output-from-pygments