[TxMt] Re: TextMate 2 Change Markdown Heading Theme

Matt Neuburg matt at tidbits.com
Fri Feb 14 16:10:36 UTC 2014


On Feb 12, 2014, at 2:35 PM, Allan Odgaard <mailinglist at textmate.org> wrote:

>> […] Back to the original problem, changing the Markdown Heading Theme. The only way I could get it to take was to change the font using the menu item View/Font/Show Fonts.
> 
> Go to Bundles → Show Bundle Editor… and select Themes → Settings in the list browser.
> 
> Here you will see six items named “Markup: Heading «n»”.
> 
> The size for the first is set to 2.25em which is 2.25 times larger than the normal font size. Edit that value and click ⌘S to save the change.

But that does not fix the problem of the font change (Baskerville). I want *my* choice of font throughout.

I think the best solution here is to rename the scopes of these settings in such a way as to neuter them. A minimal approach is to change "markup" in their names to "markupNOT"; I use that trick a lot with things where I want to turn them off but leave a clear trace of what I did. Or, of course, just uncheck Enable This Item for each of them.

Ideally, I should be able to configure my global .tm_properties to say something like "markup.*": use the *inherited* font/size, shadowing myself from these settings without the violence of altering/disabling them.

Most of all, though, I wish these settings had never been introduced.

m.

--
matt neuburg, phd = matt at tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com



More information about the textmate mailing list