-
Notifications
You must be signed in to change notification settings - Fork 859
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better support for fenced code blocks #220
Comments
You can also see that |
Oh, and here was my test case: 'use strict';
var fs = require('fs');
var markdown = require('markdown').markdown;
var output = markdown.toHTML(getFile('./test.md'), "Maruku");
console.log(output);
function getFile(src) {
return fs.readFileSync(src, 'utf-8');
} |
I’m not sure the Maruku dialect actually supports fenced code blocks? From what I found on the internet, not by default anyway. Since the parser doesn’t recognise fenced code blocks it is falling back to the default behaviour defined by Gruber cf #223 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing some weird behavior when trying to parse code blocks (with and without specified languages).
Here's my input
Home
And my generated output is:
It's a bit tricky to read, but you can see that the indented code blocks use
<p><code>
instead of<pre><code>
.The text was updated successfully, but these errors were encountered: