[TxMt] Re: Printing preview with current theme

Allan Odgaard mailinglist at textmate.org
Wed Dec 8 19:03:47 UTC 2010


On 8 Dec 2010, at 13:26, Simon Ljungberg wrote:

> Made a disappointing discovery today.
> Wrote documentation with markdown and created a custom preview theme especially for this documentation.
> Then tried to print it (to a PDF ofc ^^) and the default theme was used, even though the preview was currently showing my text with my own theme.

In your custom theme you need to provide a ‘print.css’ file, this is the style used when printing where ‘style.css’ is used only for the screen media.

It sounds like you made your CSS with printing in mind, so a symbolic link from print.css → style.css should do.


More information about the textmate mailing list