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

[ST2][OSX 10.8.5] Line numbering does not work for RTF?

binamov opened this issue · comments

Sublime 2.0.2 2221 on OSX 10.8.5

I have
"linenos": "inline"

in both my Default and User settings. It seems to work with HTML, but not RTF. Am I doing something wrong?

very awesome plugin, however I also found that "linenos" do not work for me either. User settings file below.

{
        "linenos": "inline",
        "noclasses": true,
        "fontface": "Inconsolata"
    }

you are not doing anything wrong. the fact is that the pygments rtf formatter only has options for style and and fontface and does not render rtf with line numbers. Supporting this will require you to add this functionality to pygments itself.