Marked previewing only default CSS

Fofo Marcotti's Avatar

Fofo Marcotti

12 Dec, 2012 03:47 AM

Hi-
I just bought Marked, and maybe I'm not getting it, but it will only show the default "boring" css-style preview. I've tried switching the CSS styles in the Preferences pane, imported a style from the web, and restarted the app. Is there something special I need to do in the text file itself to name a specific CSS style preview in Marked?

many thanks!

  1. Support Staff 1 Posted by Brett on 12 Dec, 2012 05:00 AM

    Brett's Avatar

    The style name shown in the lower left is actually a popup button. Click it and choose your style: http://ckyp.us/fJ7k

    -Brett

  2. 2 Posted by Fofo Marcotti on 12 Dec, 2012 12:46 PM

    Fofo Marcotti's Avatar

    Thanks Brett-
    I didn't know that was a pop-up. But alas, switching it does nothing to my preview. I've tried every style in the list, restarted the app, and it just stays there at the default style. My Mac OS is 10.7.5, and I"m editing the text files in TextMate. Let me know if you think of anything else (I attached a movie showing what I'm talking about).

    Many thanks.

  3. Support Staff 3 Posted by Brett on 12 Dec, 2012 12:52 PM

    Brett's Avatar

    It's because you're editing an HTML file. Marked can't function in its normal capacity with pre-built markup, so if the file has an HTML extension it's assumed that it has a full document structure and Marked avoids injecting stylesheets into it. It's also assumed that if you're editing an HTML file, you already have your own stylesheets embedded or linked. Work with Markdown, you'll save yourself a ton of time and be able to use Marked fully :).

  4. 4 Posted by Fofo Marcotti on 12 Dec, 2012 03:41 PM

    Fofo Marcotti's Avatar

    Thank you! I was more stupid than you thought, perhaps. I forgot there was a syntax to this whole thing. I'm an idiot. Thank you!

  5. Brett closed this discussion on 13 Dec, 2012 01:50 AM.

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