Skip to content

Instantly share code, notes, and snippets.

@gagern
Created June 22, 2020 12:27
Show Gist options
  • Save gagern/3f419ea996e50322358eefdb7f53f162 to your computer and use it in GitHub Desktop.
Save gagern/3f419ea996e50322358eefdb7f53f162 to your computer and use it in GitHub Desktop.
Hoedown code list issue
<p>Original problem:</p>
<ol>
<li><p>First item.</p></li>
<li><pre><code>Some code.
More code.
</code></pre>
<p>There is code here.</p></li>
</ol>
<ol>
<li>Third item.</li>
</ol>
<p>With intro text:</p>
<ol>
<li><p>First item.</p></li>
<li><p>There will be code here:</p>
<pre><code>Some code.
More code.
</code></pre>
<p>There is code here.</p></li>
<li><p>Third item.</p></li>
</ol>
<p>With newline and trailing space:</p>
<ol>
<li><p>First item.</p></li>
<li><pre><code>Some code.
More code.
</code></pre>
<p>There is code here.</p></li>
<li><p>Third item.</p></li>
</ol>
<p>With newline but no trailing space:</p>
<ol>
<li>First item.</li>
</ol>
<p>1.
<code>
Some code.
More code.
</code></p>
<p>There is code here.</p>
<ol>
<li>Third item.</li>
</ol>
Original problem:
1. First item.
1. ```
Some code.
More code.
```
There is code here.
1. Third item.
With intro text:
1. First item.
1. There will be code here:
```
Some code.
More code.
```
There is code here.
1. Third item.
With newline and trailing space:
1. First item.
1.
```
Some code.
More code.
```
There is code here.
1. Third item.
With newline but no trailing space:
1. First item.
1.
```
Some code.
More code.
```
There is code here.
1. Third item.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment