Skip to content

Loading…

Markdown processor is running inside highlight tags #416

Closed
kemayo opened this Issue · 1 comment

1 participant

@kemayo

Using markdown (rdiscount, but the other options do the same):

{% highlight javascript %}
// So we now have...

// Shadow drawing
context.beginPath();
context.rect(200, 200, 100, 100);
*context.closePath();*
{% endhighlight %}

Produces this rendered output:

// So we now have...</p>




<p>// Shadow drawing
context.beginPath();
context.rect(200, 200, 100, 100);
<em>context.closePath();</em>

That's the visible output, so I think it's markdowning the text and then applying highlighting, which is escaping the entities in the HTML.

@kemayo

Seems to be because of the tag plugin from https://github.com/tedkulp/jekyll-template so I'll close this.

@kemayo kemayo closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.