Source block with list syntax in a list
categories: fixme
Description/Summary
As of today (<2017-08-02 Wed>), an upstream bug in Blackfriday (Issue #239) causes fenced code blocks in lists to not render correctly if they contain Markdown syntax lists. Below is an example of such a case: List item 1 - List item 1.1 in code block - List item 1.2 in code block List item 2 + List item 2.1 in code block + List item 2.
Content
As of today (<2017-08-02 Wed>), an upstream bug in Blackfriday (Issue #239) causes fenced code blocks in lists to not render correctly if they contain Markdown syntax lists.
Below is an example of such a case:
-
List item 1
- List item 1.1 in code block - List item 1.2 in code block
-
List item 2
+ List item 2.1 in code block + List item 2.2 in code block
-
List item 3
Page (Debug)
Page Variable | Value | |
---|---|---|
Name | "Source block with list syntax in a list" | |
Title | "Source block with list syntax in a list" | |
ResourceType | "page" | |
Kind | "page" | |
Section | "posts" | |
Draft | false | |
Type | "posts" | |
Layout | "" | |
Permalink | "https://hugo-sandbox.netlify.com/posts/list-has-src-block-with-list-syntax/" | |
RelPermalink | "/posts/list-has-src-block-with-list-syntax/" | |
Data |
| |
NextPage | Source block with list syntax but not in a list | |
PrevPage | Source block without list syntax in a list | |
NextInSection | Source block with list syntax but not in a list | |
PrevInSection | Source block without list syntax in a list |
Page Params (Debug)
maps.Params{"categories":[]string{"fixme"}, "date":time.Date(2017, time.August, 1, 0, 0, 0, 0, time.UTC), "draft":false, "iscjklanguage":false, "lastmod":time.Date(2017, time.November, 2, 10, 12, 52, 0, time.Location("")), "publishdate":time.Date(2017, time.August, 1, 0, 0, 0, 0, time.UTC), "tags":[]string{"src-block", "upstream"}, "title":"Source block with list syntax in a list"} (type:maps.Params) |
File Object (Debug)
FileInfo Variable | Value |
---|---|
UniqueID | "687c79003969dc3d9a2af946a9dfb38b" |
BaseFileName | "list-has-src-block-with-list-syntax" |
TranslationBaseName | "list-has-src-block-with-list-syntax" |
Lang | "en" |
Section | "posts" |
LogicalName | "list-has-src-block-with-list-syntax.md" |
Dir | "posts/" |
Ext | "md" |
Path | "posts/list-has-src-block-with-list-syntax.md" |