That's exactly the nudge I was looking for. Turns out Komodo (my editor of preference) has a nice "Print to HTML file..." function that prints the code exactly as I'm used to seeing it with the syntax highlighting from Komodo and line numbers too boot.
Cheers,
Brent
| [reply] |
Eclipse with the Epic plugin can do the same.
Menu: Source->Export->HTML
| [reply] |
Not implemented in perl, but i've discovered that pygments is a very good syntax highlighter, I like to install it along with my trac installations so i get highlighting on the browse source pages. Not sure how to use it outside trac honestly, but I bet you can find a command that will print an html-highlighted version of any input file.
It's not what you look like, when you're doin' what you’re doin'.
It's what you’re doin' when you’re doin' what you look like you’re doin'! - Charles Wright & the Watts 103rd Street Rhythm Band, Express yourself
| [reply] |