Using Seems to have the result of removing <p> tags when writing in Jekyll.
Markdown input:
Lorem ipsum.
<mark>Test</mark>
<mark>Foobar</mark>
HTML output:
<p>Lorem ipsum.</p>
<mark>Test</mark>
<mark>Foobar</mark>
$ bundle exec kramdown -v
1.9.0
I thought it might have to do with the tag being treated as an unknown tag or a block tag given the behaviour, but the main problem is that using markdown=“1" and markdown="span" doesn’t fix it either.
I take it this can’t be expected behaviour, at least if you can’t mitigate it with the markdown attribute. Or does is it “not working, as expected”, if you will? :)
I’ll be using <span class="highlight"> for now, but that’s obviously not ideal for a number of reasons.
Using Seems to have the result of removing
<p>tags when writing in Jekyll.Markdown input:
HTML output:
$ bundle exec kramdown -v 1.9.0I thought it might have to do with the tag being treated as an unknown tag or a block tag given the behaviour, but the main problem is that using
markdown=“1"andmarkdown="span"doesn’t fix it either.I take it this can’t be expected behaviour, at least if you can’t mitigate it with the
markdownattribute. Or does is it “not working, as expected”, if you will? :)I’ll be using
<span class="highlight">for now, but that’s obviously not ideal for a number of reasons.