https://github.com/kaushalmodi/ox-hugo/issues/57master
parent
b277e6525d
commit
44cd8902be
4 changed files with 90 additions and 0 deletions
@ -0,0 +1,18 @@ |
||||
+++ |
||||
title = "Source block without list syntax in a list" |
||||
date = 2017-08-01 |
||||
tags = [] |
||||
draft = false |
||||
+++ |
||||
|
||||
This case is not affected by _Blackfriday_ [Issue #239](https://github.com/russross/blackfriday/issues/239) as the fenced |
||||
code block does not have Markdown syntax lists. |
||||
|
||||
- List item 1 |
||||
|
||||
```md |
||||
*abc* |
||||
/def/ |
||||
=def= |
||||
``` |
||||
- List item 2 |
||||
@ -0,0 +1,22 @@ |
||||
+++ |
||||
title = "Source block with list syntax in a list" |
||||
date = 2017-08-01 |
||||
tags = ["upstream"] |
||||
categories = ["fixme"] |
||||
draft = false |
||||
+++ |
||||
|
||||
As of today (<span class="timestamp-wrapper"><span class="timestamp"><2017-08-02 Wed></span></span>), an upstream bug in _Blackfriday_ |
||||
([Issue #239](https://github.com/russross/blackfriday/issues/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 |
||||
|
||||
```md |
||||
- List item 1 in code block |
||||
- List item 2 in code block |
||||
``` |
||||
- List item 2 |
||||
- List item 3 |
||||
@ -0,0 +1,10 @@ |
||||
+++ |
||||
title = "Source block with list syntax but not in a list" |
||||
date = 2017-08-01 |
||||
tags = [] |
||||
draft = false |
||||
+++ |
||||
|
||||
```md |
||||
- list 1 |
||||
``` |
||||
Loading…
Reference in new issue