Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: (OT) Presenations Involving Code

by dorko (Parson)
on Mar 08, 2007 at 09:00 UTC ( #603789=note: print w/replies, xml ) Need Help??

in reply to Re: (OT) Presenations Involving Code
in thread (OT) Presentations Involving Code

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.



-- Yeah, I'm a Delt.

Replies are listed 'Best First'.
Re^3: (OT) Presenations Involving Code
by MaxKlokan (Monk) on Mar 08, 2007 at 22:04 UTC
    Eclipse with the Epic plugin can do the same.
    Menu: Source->Export->HTML
Re^3: (OT) Presenations Involving Code
by qbxk (Friar) on Mar 08, 2007 at 22:16 UTC
    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

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://603789]
and a kettle whistles...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (12)
As of 2018-06-25 20:05 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (128 votes). Check out past polls.