I'm not sure whether anyone's already done this but your best bet would be to rig a command use the GeSHi syntax hi-lighter which can be found here http://qbnz.com/highlighter/ and supports quite a few languages:
I, for one, would be very interested in the results.
Doing this via the syntax files of the language bundles would be very neat so might be worth investigating.
Simon
On 4 Mar 2005, at 5:25 pm, Bruno Bronosky wrote:
I regularly post code onto blogs and would love to get what I see in TextMate (highlighting and such) to be represented with HTML. I there a method in place for doing this?
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate