.Kind (page): .Type (posts) / .Layout ()
Bundle: n/a (regular page)
[ categories | projects | tags | search ]
Hugo Sandbox

This is an unofficial Hugo sandbox site to try to replicate possible bugs in hugo.

It is updated automatically after each commit to the hugo-sandbox repo. It was last updated on Feb 04, 2019 17:56 UTC.


This page was created/modified in commit 669d193 "Copy ox-hugo test site" on 2017-11-02.
Markdown source of this page

Source block with list syntax in a list

categories: fixme

tags: src-block upstream


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.2 in code block List item 3


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:


Page (Debug)

Page VariableValue
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/"
RSSLink ""
Data
KeyTypeValue
Pageshugolib.Pages
NextPageSource block with list syntax but not in a list
PrevPageSource block without list syntax in a list
NextInSectionSource block with list syntax but not in a list
PrevInSectionSource block without list syntax in a list

Page Params (Debug)

KeyTypeValue
categories[]string "fixme"
datetime.Time 2017-08-01 00:00:00 +0000 UTC
draftbool false
iscjklanguagebool false
lastmodtime.Time 2017-11-02 10:12:52 -0400 -0400
publishdatetime.Time 2017-08-01 00:00:00 +0000 UTC
tags[]string "src-block" "upstream"
titlestring "Source block with list syntax in a list"

File Object (Debug)

FileInfo VariableValue
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"

This site is generated using the ox-hugo package for Emacs/Org-mode + hugo-bare-min-theme + Hugo 0.54-DEV (commit dff8c199, using Chroma commit d5ca12b) .

[Back to Hugo Sandbox home]