[TxMt] Re: How to publish highlighted code with line numbers?
Thomas Krajacic
thomas.krajacic at gmail.com
Fri Apr 15 18:42:25 UTC 2011
I totally missed the HTML with line numbers command! This is awesome!
True about the long lines being problematic though. But I can manually wrap my code
before output. I usually wrap to 80 columns anyway, since the automatic wrapping is
not properly indenting unfortunately.
THX for the hint!
On 15 Apr 2011, at 20:18, Hans-Jörg Bibiko wrote:
> another options is to do
> - Bundle TextMate > Create HTML from Document with Line Numbers
> - Show Preview that new generated HTML code
> - Select all in the HTML window and Copy it
> ... then eg paste it into TextEdit (rich text mode)
>
> but one should have some problems with long lines
>
> [Meanwhile I'm looking for my own bundle command because it got rid of displaying line numbers]
>
> --Hans
>
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
More information about the textmate
mailing list