[TxMt] Print to PDF from Markdown preview

Mark Eli Kalderon eli at markelikalderon.com
Wed Nov 15 08:13:58 UTC 2006


On 14 Nov 2006, at 22:37, Soryu wrote:

>>
>> What control do I have over the format of the resulting PDF if I  
>> generate it from the print dialog rather than the 'convert to PDF'  
>> command? I like the 'out of the box' look of the print dialog PDF  
>> better than the htmldoc-generated one, and wondered if I could do  
>> anything to tweak, e.g. fonts, space after headings, list  
>> indentation, etc.
>>
>> If anyone knows of a good htmldoc intro document that is a little  
>> friendlier than the manpage I'd be grateful too!!
>>
>> Many thanks,
>> Nigel
>
> Hi Nigel,
>
> I’ve just committed a patch to the Web Preview that allows you to  
> put your own Stylesheet here: ~/Library/Application Support/ 
> TextMate/Themes/Webpreview/print.css
>
> There you can override the default print styles that are defined  
> in /Library/Application Support/TextMate/Support/themes/default/ 
> print.css (if you have bundles checked out via svn) or / 
> Applications/TextMate.app/Contents/SharedSupport/Support/themes/ 
> default/print.css
>
> You’ll have to checkout the Support folder to make this work. Or  
> wait for the next TextMate version.
>
> Have fun,
> Soryu.


You can also specify a stylesheet in the meta data section of your  
MultiMarkdown document

Best, Mark


More information about the textmate mailing list