toland / qlmarkdown

QuickLook generator for Markdown files.
3.24k stars 141 forks source link

<hr> breaks code-block #62

Open luckydonald opened 8 years ago

luckydonald commented 8 years ago

<hr> breaks code blocks

Input:

#### Code

This is using markdown mixed with HTML.

```markdown
footnotes<sup>[1](#1)</sup>

And in your Footnotes section

<hr />
###### Footnotes:
1. <a name="1">*Lorem Ipsum*</a>

# Result:

![image](https://cloud.githubusercontent.com/assets/2737108/13192439/3974da2e-d76c-11e5-979e-e5c7bc0440d6.png)
# Expected Result:

> #### Code
> 
> This is using markdown mixed with HTML.
> 
> ``` markdown
> footnotes<sup>[1](#1)</sup>
> ```
> 
> And in your Footnotes section
> 
> ``` markdown
> <hr />
> ###### Footnotes:
> 1. <a name="1">*Lorem Ipsum*</a>
> ```