XML-Examples in github flavored markdown

Stefan Huber's Avatar

Stefan Huber

25 Aug, 2013 03:20 PM

I just bought marked and the very first file I try is already broken. I took the readme file of my repo: https://github.com/signalwerk/fontstep and the rendering with the code blocks is just not working. I do tree times the backtick start with xml (to indicate the syntax-highlighting) and then the code. Works great in github. Any suggestions?

See comparison in in the attached file.

  1. Support Staff 1 Posted by Brett on 25 Aug, 2013 03:27 PM

    Brett's Avatar

    It's not broken. Fenced code blocks are not part of standard Markdown, so the option is disabled by default. Take a look at the Behavior panel in preferences.

  2. 2 Posted by Stefan Huber on 25 Aug, 2013 09:18 PM

    Stefan Huber's Avatar

    Doesn't work for me. with that markdown-file. Sorry.

  3. Support Staff 3 Posted by Brett on 25 Aug, 2013 09:52 PM

    Brett's Avatar

    Attach a copy of an example file and I'll take a look at it.

  4. 4 Posted by Stefan Huber on 25 Aug, 2013 09:53 PM

    Stefan Huber's Avatar
  5. Support Staff 5 Posted by Brett on 25 Aug, 2013 09:58 PM

    Brett's Avatar

    This is how Marked 1.4.2 renders that page for me. Are you sure you have fenced code blocks turned on? If so, could you post a screenshot of your Behavior preferences for me to double check?

Reply to this discussion

Internal reply

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

Attaching KB article:

»

Already uploaded files

  • comparison.png 42 KB

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