XML-Examples in github flavored markdown
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.
- comparison.png 42 KB
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
Support Staff 1 Posted by Brett on 25 Aug, 2013 03:27 PM
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 Posted by Stefan Huber on 25 Aug, 2013 09:18 PM
Doesn't work for me. with that markdown-file. Sorry.
Support Staff 3 Posted by Brett on 25 Aug, 2013 09:52 PM
Attach a copy of an example file and I'll take a look at it.
4 Posted by Stefan Huber on 25 Aug, 2013 09:53 PM
https://raw.github.com/signalwerk/fontstep/master/readme.md
Support Staff 5 Posted by Brett on 25 Aug, 2013 09:58 PM
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?