Using different styles in MMC file

Victor Warner's Avatar

Victor Warner

02 Jul, 2014 08:55 AM

I would like to know whether it is possible to include further styles in a MMC file.

I am aware that it is possible that it is possible to add the codes in the .css file, but I do not know how to add the code in a MMC file.

For example: I wish to have a paragraph of text in 14pt Times Roman and the following one in 12pt Times Roman.

t14 = {             
    fontSize = 14;
    fontName = Times Roman;

}

t12 = {             
    fontSize = 14;
    fontName = Times Roman;

}

Assuming I added these styles to a MMC style sheet, and selected that style sheet in Preferences/Appearances,

  1. how would I use those styles in a MMC file?; and
  2. if I exported/copied the file to HTML would the styles be retained in the same way as for others (e.g. Heading 1)?
  1. Support Staff 1 Posted by Fletcher on 02 Jul, 2014 05:13 PM

    Fletcher's Avatar

    Victor,

    Thanks for writing in!

    I'm not sure I follow you, however.

    The styles applied to Composer's editor pane are not CSS. CSS can only
    be used on HTML documents, such as the preview.

    The support site has information on modifying the Composer style sheets,
    as well some other examples:

    http://support.multimarkdown.com/kb

    The default style sheets show various examples of what you can do, and
    they all include CSS that gets applied to the preview pane. You can
    modify whichever parts of it you like.

    As for how to modify CSS to do what you want, that's up to you. There
    are plenty of resources on the internet about how to use CSS, but you
    will need to be creative to apply them to HTML generated from MMD, since
    it doesn't (normally) have different classes for different instances of
    element (e.g. all `<p>` tags are the same). Alternatively you can use
    lots of raw HTML in your MMD document, but that defeats the purpose of
    using MMD in the first place.

    Fletcher

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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