[TxMt] Re: Exporting code samples for presentation with CSS

john muhl lists at johnmuhl.com
Fri Jun 13 16:40:26 UTC 2008


Look in the TextMate bundle for create HTML from Selection (with or  
without line numbers) and create CSS from current theme (also in the  
TM bundle)

On 2008/06/13, at 10:30, Tony Crockford wrote:

>
> Before I go mad and spend ages re-inventing the wheel, is there
> something in/for TM that I have missed that would allow me to take a
> selected code sample and save it in some way that it could be
> presented in another html page?
>
> (ideally wrapped with some styling hooks for CSS so syntax could be
> highlighted.
>
> e.g. converting <div> to <span class="tag_div"><div></span>
>
> TIA
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate




More information about the textmate mailing list