Different font for headers and body text?

mmcomposer's Avatar

mmcomposer

26 Feb, 2014 10:14 AM

Hi,

I'm putting together my own theme set (kind of a collision of Byword-like MMD syntax treatment with Solarized Light/Dark colors for the rest, CriticMarkup included). I'd like to set the Header font to something different than the body text. I've managed to achieve this in the Editor Pane but can't figure out where to style this in for the Preview Pane.

It's probably fairly easy but I'm a CSS newbie and I'm just not sure what I'm doing. So, I thought I'd ask.

Thanks in advance.

  1. Support Staff 1 Posted by Fletcher on 26 Feb, 2014 04:29 PM

    Fletcher's Avatar

    What do you mean by "headers"?

    The headers and footers when printing are not part of HTML, and
    therefore aren't affected by CSS.

    CSS still doesn't offer reliable ways to handle headers and footers,
    which I found really surprising.

    Instead headers and footers have to be handled by Apple's print
    routines. This is currently limited to plain text, and the font/sizing
    is fixed. I can consider adding support for custom fonts/sizes in the
    future, but it will probably be lower priority than some other things I
    am working on.

    If you're referring to h1/h2/etc., you can customize them all by using
    "heading" in the Composer Style Sheet, or heading1-heading6:

    http://support.multimarkdown.com/kb/style-sheets/how-do-i-create-a-custom-style-sheet

    Fletcher

  2. 2 Posted by mmcomposer on 26 Feb, 2014 10:18 PM

    mmcomposer's Avatar

    Yes.

    I was referring to h1, h2, etc.

  3. Fletcher closed this discussion on 01 Mar, 2014 06:38 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac