Support fenced code block in list.
See original GitHub issueIt would be great if we can do something like this:
-
A list item with some code sample
console.log('hello, world.');
Issue Analytics
- State:
- Created 8 years ago
- Comments:11 (2 by maintainers)
Top Results From Across the Web
Creating and highlighting code blocks - GitHub Docs
You can create fenced code blocks by placing triple backticks ``` before and after the code block. We recommend placing a blank line...
Read more >Fenced Code Blocks — Python-Markdown 3.4.1 documentation
Fenced Code Blocks are only supported at the document root level. Therefore, they cannot be nested inside lists or blockquotes. If you need...
Read more >Where is the list of language names supported by the ...
Where is the list of language names supported by the markdown fenced code blocks? Is makefile one of them? Perhaps it is called...
Read more >Code Blocks
We offer both classic single code blocks, as well as a tabbed interface for displaying multiple code blocks concisely! These are written nearly...
Read more >Extended Syntax - Markdown Guide
Many Markdown processors support syntax highlighting for fenced code blocks. This feature allows you to add color highlighting for whatever language your ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
How about this?
Code blocks nested in blockquote are not rendered correctly. It should be a
<pre><code>...</code></pre>
, but in Ghost got just<code>
。Take below as example:
This block is rendered to:
The correct result should be:
The official demo of Showdown works well.
Marked works well, too.
So why do not use the official version of Showdown, the Ghost fork is out of date and bugly.
When will fenced code block be supported in Ghost? Have been waiting for this for a long long time