[TxMt] Re: Printing preview with current theme

Simon Ljungberg simon.ljungberg at goodold.se
Wed Dec 8 19:20:08 UTC 2010


Sweet, thanks! :)

> 
> 
>> 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.
> 
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate



More information about the textmate mailing list