Closed skhavari closed 9 years ago
+1 Also being able to register parsers for each kind of code block would be awesome
Hello!
I don’t think the ```` code-block syntax is in the Gruber dialect? Gruber uses backticks for inline code elements, and you can use backticks as deliminators in case you want to use single backticks in the code. The output generated by markdown.js matches http://daringfireball.net/projects/markdown/dingus in this case.
Best,
Fenced code blocks are from Github Flavoured Markdown (and probably a few others) which has been started but needs more work in #41
repro: convert the following markdown text with gruber
expect: the output to be a preformatted code block
actual: parser detects input as inline code and is outputting the following
js var x = new Date();