Can I use Style Sheets from version 1 with version 2?

The format for style sheets is completely different in MultiMarkdown Composer version 2.

Version 1 style sheets looked like:

element_name
foreground: hex_color
background: hex_color
font-style: bold|italic|underlined
font-size: ??px (version 1.0.3+)
font-family: ??????  (version 1.0.3+)

These style sheets are not compatible with Composer version 2 or above. MultiMarkdown Composer has a completely new method for handling Style Themes. The new format allows for better flexibility in the parsing code, which allows for better ways of incorporating style sheets in the app.

Note: If you are using the non-sandboxed version of Composer, your old style sheets may still be in the folder used for version 2. The Appearance preference pane has a button that will open the Styles folder --- you can remove your old style sheets so that you don't try to use them in version 2.

Style themes allow you to customize almost everything about Composer' appearance:

  • the font and size used for every element (e.g. body, headers, code spans, ...)
  • the foreground and background colors for each element
  • foreground and background colors for markup elements
  • line justification
  • margins
  • bold, italics, underline
  • kerning
  • CSS used for the preview
  • and more!

Style themes are written as plist files. These are plain text files that can be easily edited by hand. The best way to get started is to modify an existing theme. (Note --- you will have to use another text editor aside from Composer to edit these files, since opening them in Composer would install them, not edit them. You can use TextEdit, though I would recommend TextMate or another full-featured programming editor if you have one. You can also use Apple's Property List Editor application.)

Several themes are included in the Composer application. When you use any of these themes, a copy is stored in your Library. You can edit these local copies if desired. The "Appearance" pane in the Preferences dialog has a button that will automatically open the styles folder for you.

You can learn more about customizing Style Sheets here