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

Should be able to use ```` for multi-line code block #130

Closed
emmajane opened this issue Jun 17, 2014 · 4 comments
Closed

Should be able to use ```` for multi-line code block #130

emmajane opened this issue Jun 17, 2014 · 4 comments

Comments

@emmajane
Copy link

Currently I need to indent lines by four spaces to have them display as a multi-line code block. I would love to be able to use the syntax for a fenced code block: four backticks to open a code block, and then four backticks again to close the code block. As best I can tell this was not part of the original "spec" for markdown (http://daringfireball.net/projects/markdown/syntax), and may have been something that GitHub introduced? This is low priority as there is a way to do code blocks currently.

@simensen
Copy link
Member

I need to upgrade PHP-Markdown to 1.4. I think it supports fenced code blocks. I thought it did already anyway, but it used a slightly different format before? Or maybe it didn't. Either way, I think I need to update the dependency. :)

@ghost
Copy link

ghost commented Feb 21, 2015

so markdown was updated, is this ticket still valid? or are fenced codeblocks not supported in markdown 1.4?

@simensen
Copy link
Member

@jrobeson I still need to verify this. Should be easy to try. Hopefully in the next few days. Possibly someone else can try it out on the sculpin-blog-skeleton and create a new post showcasing fenced code blocks assuming it works.

@davedevelopment
Copy link
Contributor

I use fenced codeblocks and indeed they work for me.

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