Closed rgbkrk closed 3 years ago
I assume this is meant to work when you are running the markdown component in a trusted environment?
Yeah. I'd love to be able to support some subset, like is done with Github markdown.
We could make this opt-in either by merging in props.astPlugins
properly (appending it to the array).
I updated this PR. Would you mind taking a look @captainsafia?
I removed the html-parser
import and the type file related to the parser function. I am going to go ahead and merge this now.
This allows for rendering HTML that is embedded in a Markdown cell or output. We started noticing this in some papermill output notebooks that used a simple
<span
tag with styling.Alternatively, we could fold in
astPlugins
overrides more directly than the current...props
splat here.