You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Willing to come up with a PR if there are any ideas around how this API would work.
Right now my workaround is to wrap the interpolated component with a <div> so that it will render inside a div rather than a p.
markdown`<div>${<MyBlockLevelComponent/>}</div>`
I'm wondering if there is a way to "detect" the tag name of the rendered component, or if we need to rely on an option passed into the markdown function, such as markdown({nowrap: [MyBlockLevelComponent]})
The text was updated successfully, but these errors were encountered:
Willing to come up with a PR if there are any ideas around how this API would work.
Right now my workaround is to wrap the interpolated component with a
<div>
so that it will render inside a div rather than a p.I'm wondering if there is a way to "detect" the tag name of the rendered component, or if we need to rely on an option passed into the
markdown
function, such asmarkdown({nowrap: [MyBlockLevelComponent]})
The text was updated successfully, but these errors were encountered: