Markdown to HTML but without p paragraph

I have a very specific request. One of my most used extensions is the (excellent) Markdown to HTML extension. However, this extension always wraps the selected and then converted text in <p></p> tags which I then have to remove manually. Is there a way to prevent this?

E.g. I need to convert:



@<a href="#comment-9999999">Nick</a>:

but I get

<p>@<a href="#comment-9999999" rel="nofollow ugc">Nick</a>:</p>

1 Like

Unfortunately still haven’t found a solution. Any help would be appreciated :slight_smile:

Hi – there isn’t any super quick easy way but it should be fairly straightforward in theory. It would need a modified version of the extension specifically to strip off the <p>. (The extension itself is a rare Perl extension - it uses John Gruber’s orignal perl script.)