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@lists.macromates.com http://lists.macromates.com/listinfo/textmate