You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1010 B
1010 B
+++ title = "Example block with list syntax in a list" tags = ["src-block", "lists", "hyphen", "example-block", "blackfriday"] categories = ["upstream"] draft = false +++
An upstream bug in Blackfriday Issue #239 caused fenced code blocks in
lists to not render correctly if they contain Markdown syntax
lists. ox-hugo provides a hack to get around that bug.
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
Another such example, but with spaces before the hyphens in example blocks:
-
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