Custom CSS per file?

norick's Avatar


30 Nov, 2015 09:44 AM

Hi. I used multimarkdown composer for a while. Now, I'm back to TextMate and Marked 2. There is a thing though that it seems that I can't do.

In mmd, in the header of the file, you can specify the CSS used to render your markdown. Example:
CSS: /path/yourfile.css

Or, in marked2, you can specify the CSS you want to use in the preference panel, but I can't find a way to tell Marked2 to use the CSS indicated in the first line of the file.

Is it possible? Am I missing something?


  1. Support Staff 1 Posted by Brett on 30 Nov, 2015 01:28 PM

    Brett's Avatar

    Add the CSS to your custom styles, then you can use "marked style:" metadata and just refer to it by short name.

  2. norick closed this discussion on 17 Dec, 2015 09:46 AM.

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

Keyboard shortcuts


? 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