-
-
Notifications
You must be signed in to change notification settings - Fork 5k
Closed
Labels
Description
The Hexo filter backtick_code_blockmakes following markdown code-block work as a fool.
Hello
> This is a code-block
>
> ```json
> {
> "test": 123
> }
> ```This will be parsed as
<p>Hello</p>
<blockquote>
<p>This is a code-block</p>
<pre><code class="json">
<span class="line">> {</span><br>
<span class="line">> "test": 123</span><br>
<span class="line">> }</span><br>
<span class="line">></span>
</code></pre>
</blockquote>Which looks like
Hello
This is a code-block
> { > "test": 123 > } >
Actually it should be
<p>Hello</p>
<blockquote>
<p>This is a code-block</p>
<pre><code class="json">
<span class="line"> {</span><br>
<span class="line"> "test": 123</span><br>
<span class="line"> }</span>
</code></pre>
</blockquote>Hello
This is a code-block
{ "test": 123 }
Reactions are currently unavailable