Custom Element "Unwrapping" Plugin for Unified (markdown) #568
Closed
thescientist13
started this conversation in
Ideas
Replies: 1 comment
-
Transferred here - #1267 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As observed in #554 in support of #529, when using a custom element in markdown
It will come out wrapped in a
<p>
tag,It was necessary to "unwrap" these when serializing with puppeteer or else we got duplicate light / shadow dom rendering, like we had observed in #433.
So the thought here is, make a unified plugin for this and use a parser instead. (unless there is a better solution to this problem?)
Beta Was this translation helpful? Give feedback.
All reactions