Skip to content
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

Code blocks (```) cannot have empty lines #62

Open
madskristensen opened this issue Sep 1, 2015 · 2 comments
Open

Code blocks (```) cannot have empty lines #62

madskristensen opened this issue Sep 1, 2015 · 2 comments

Comments

@madskristensen
Copy link

A <code> block is not created when having empty lines like so:

test: {

}

Where as using the tilde characters works fine:

test: {

}
@dprothero
Copy link

Confirmed this issue. In addition, you cannot add a class name after the tilde characters as per https://michelf.ca/projects/php-markdown/extra/#fenced-code-blocks

@FransBouma
Copy link

When I add a CRLF after 'line 3' in the Fenced code blocks alt txt file for the ExtraMode tests, it works OK (the extra line is inserted properly). Also if I add your test snippet it works fine, (both to txt and html test of course).

Not sure if this project is still alive. I've forked it to add github style code blocks (language specification) and I can't reproduce it with my fork (which is on par with this repo, for ExtraMode).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants