Closed nobkd closed 7 months ago
Somewhat a followup on #2
Through this PR the stripping of <p> only happens if there is only one p and no other sibling in the parent. Also see first paragraph of https://github.com/antfu/markdown-it-mdc/pull/2#issuecomment-1719335739
<p>
p
partially fixes #3, as paragraphs are not stripped when multiple ones are in a slot now.
Description
Somewhat a followup on #2
Through this PR the stripping of
<p>
only happens if there is only onep
and no other sibling in the parent. Also see first paragraph of https://github.com/antfu/markdown-it-mdc/pull/2#issuecomment-1719335739Linked Issues
partially fixes #3, as paragraphs are not stripped when multiple ones are in a slot now.
Additional context