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

Allow empty strings in code blocks (with ```) #24

Closed
GoogleCodeExporter opened this issue Dec 29, 2015 · 2 comments
Closed

Allow empty strings in code blocks (with ```) #24

GoogleCodeExporter opened this issue Dec 29, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

When empty line appears in code block (marked with triple backqoute) it breaks 
to simple paragraphs with "```" after <p> and before </p>.

Original issue reported on code.google.com by gros...@gmail.com on 3 Apr 2012 at 8:21

@GoogleCodeExporter
Copy link
Author

Original markdown has such behavior too.

Original comment by gros...@gmail.com on 3 Apr 2012 at 9:26

@GoogleCodeExporter
Copy link
Author

Triple-backtick codeblocks are not supported by Pagedown, they are not an 
originial Markdown feature, but an extension invented by GitHub (called "fenced 
codeblocks"): http://github.github.com/github-flavored-markdown/

We are currently considering to add it; see 
http://meta.stackoverflow.com/questions/125148/implement-style-markdown-code-blo
cks

But until that's the case, the behavior you're seeing is correct.

Original comment by b...@stackoverflow.com on 4 Apr 2012 at 8:57

  • Changed state: Invalid

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

No branches or pull requests

1 participant