Closed mvanroon closed 9 months ago
I'd like to be able to only parse inline tags, like <em>, <strong> and <a>. Single line rendering, without paragraph wrap, so that:
<em>
<strong>
<a>
<h2><vue-markdown>Hello. *Is it me you're looking for?*</vue-markdown></h2>
Does not render as (current situation): <h2>Hello. <div><p><em>Is it me you're looking for?</em></p></div></h2>
<h2>Hello. <div><p><em>Is it me you're looking for?</em></p></div></h2>
But instead renders like this: <h2>Hello. <em>Is it me you're looking for?</em></h2>
<h2>Hello. <em>Is it me you're looking for?</em></h2>
See: https://markdown-it.github.io/markdown-it/#MarkdownIt.renderInline
I'd like to be able to only parse inline tags, like
<em>
,<strong>
and<a>
. Single line rendering, without paragraph wrap, so that:<h2><vue-markdown>Hello. *Is it me you're looking for?*</vue-markdown></h2>
Does not render as (current situation):
<h2>Hello. <div><p><em>Is it me you're looking for?</em></p></div></h2>
But instead renders like this:
<h2>Hello. <em>Is it me you're looking for?</em></h2>
See: https://markdown-it.github.io/markdown-it/#MarkdownIt.renderInline