[TxMt] TextMate Create HTML from Selection

marios tmtxpstuff at consking.com
Wed Nov 22 23:50:27 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Allan Odgaard wrote:
> On 18. Nov 2006, at 20:33, marios wrote:
> 
>> [...] The Idea though was to  not only insert the code snippet, but also
>> html-ify it with the TextMate > create HTML from selection/ Document
>> command.
>>
>> Taking the original Code, and creating a new drag command, i tried
>> something like this: [...]
> 
> Okay, that is not possible -- the Create HTML From Document / Selection
> gets the document / selection as it is parsed by TextMate, you can’t
> currently invoke the TM parser on arbitrary files.
> 
> 
Ok, I understand. I have cobbled together a workaround, I wrote about it
here:
http://www.consking.com/delyriumlab/prettify-your-code
(I didn't think about the white space though, so I have to modify the macro)

regards, marios
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
Comment: This might change in the future
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFZOJD8tSzPOYuZvQRAkurAKCfaXs2FGkoBb3RfUDF/CmbgrwGrwCfS2v9
mUV8vU0ogYRSD31/uvJsF2c=
=PqJr
-----END PGP SIGNATURE-----



More information about the textmate mailing list