[TxMt] Re: Markdown fonts

George McGinley Smith george at gsgd.co.uk
Fri Nov 9 12:37:39 UTC 2012


On 9 Nov 2012, at 11:33, David Whitford wrote:

> In brief, does anyone know the font that's used for the Markdown Bundle's Preview window?

A screenshot saves 1000 words :)

If it's the default markdown preview the css for that is stored in (assuming TM2)

~/Library/Application Support/TextMate/Managed/Bundles/Themes.tmbundle/Support/web-themes/default/style.css
l:19	font: 13px "Trebuchet MS", Helvetica, sans-serif;

With the print stylesheet being:
~/Library/Application Support/TextMate/Managed/Bundles/Themes.tmbundle/Support/web-themes/default/print.css
l:2	font-family: "Palatino", "Book Antiqua", "Baskerville", serif;

You could just change those, but it's pretty easy to create a new one. To create a modified style duplicate one of the existing ones – looks like it adds a class with the name of the folder so if you duplicate bright into newname you'll need to change all the .bright references in style.css to .newname

Hope that helps

George


More information about the textmate mailing list