TM2 does a nice job of formatting Github markdown, and places it in a new window. Unfortunately, I have yet to figure out how to print or export the contents of the formatted window. Is this a bug in TM2 or in my head?
Lewy
On 09 Aug 2016, at 01:56, Lewis Overton akakie@gmail.com wrote:
TM2 does a nice job of formatting Github markdown, and places it in a new window. Unfortunately, I have yet to figure out how to print or export the contents of the formatted window. Is this a bug in TM2 or in my head?
You can press ⌥⌘U, just as in Safari, to show the the source code for the rendered HTML.
-- /Jacob Carlborg
⌘+P
On Tue, 9 Aug 2016 at 11:27 Jacob Carlborg doob@me.com wrote:
On 09 Aug 2016, at 01:56, Lewis Overton akakie@gmail.com wrote:
TM2 does a nice job of formatting Github markdown, and places it in a new window. Unfortunately, I have yet to figure out how to print or export the contents of the formatted window. Is this a bug in TM2 or in my head?
You can press ⌥⌘U, just as in Safari, to show the the source code for the rendered HTML.
-- /Jacob Carlborg
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
On 9 Aug 2016, at 1:56, Lewis Overton wrote:
TM2 does a nice job of formatting Github markdown, and places it in a new window. Unfortunately, I have yet to figure out how to print or export the contents of the formatted window. Is this a bug in TM2 or in my head?
A little known secret is that all the (HTML) output windows support ⌘P to bring up the Print dialog.
Unfortunately 10.10 or maybe 10.11 introduced a bug in WebKit so that it is very prone to crashing (when it generates a PDF from our HTML), I fixed this locally by commenting out the `position fixed;` from the CSS and then forgot about it.
We’ll update the CSS shortly to workaround this issue.
Jacob already mentioned you can use View Source with the (HTML) output windows, though the Markdown bundle also has a Convert to HTML action if you just want the HTML created from the Markdown (without TextMate’s boilerplate).
Am 09.08.16 um 10:26 schrieb Allan Odgaard:
Jacob already mentioned you can use View Source with the (HTML) output windows, though the Markdown bundle also has a Convert to HTML action if you just want the HTML created from the Markdown (without TextMate’s boilerplate).
Reminds me that this command should probably be changed to use `TextMate::Markdown.to_html` as well … should I give it a go?
Stefan