[TxMt] hightlight macro

baptiste auguie bapt_4510 at yahoo.fr
Thu May 7 09:21:03 UTC 2009


Dear list,

I'm using a command line to create a html snippet with embedded css to post on a Wiki. At the moment I run,

highlight test.r -H --inline-css  --fragment  --enclose-pre   --style print | pbcopy

on the command line. I'd like to create a macro in TM so that I can get the same processing applied to selected text in a document. I've never written any TM macro and I don't know Ruby (or bash for that matter). Would you be kind enough to help me out?

Thanks,

baptiste


      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090507/8522031a/attachment.html>


More information about the textmate mailing list