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 >>==--
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
On Mar 4, 2005, at 18:53, Simon Gregory wrote:
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:
Chris Ruzin did something like this, but for code and not HTML: http://www.chrisruzin.net/index.php/entry/ exporting_textmate_code_to_html/
Doing this via the syntax files of the language bundles would be very neat so might be worth investigating.
Yes -- most likely something like this will be possible now that syntax files are more or less reduced to tokenizing (in upcoming beta).
I love upcoming betas. It's like having Christmas 10 times a year!
I hope to find a modified folding algorithm in my stocking!
Thank you,
--==<< R i c h a r d B r o n o s k y >>==--
On Mar 4, 2005, at 1:04 PM, Allan Odgaard wrote:
On Mar 4, 2005, at 18:53, Simon Gregory wrote:
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:
Chris Ruzin did something like this, but for code and not HTML: http://www.chrisruzin.net/index.php/entry/ exporting_textmate_code_to_html/
Doing this via the syntax files of the language bundles would be very neat so might be worth investigating.
Yes -- most likely something like this will be possible now that syntax files are more or less reduced to tokenizing (in upcoming beta).
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