Is there a way to directly pass in html markup maybe using dangerouslySetInnerHTML? #164
Unanswered
romellogoodman
asked this question in
Q&A
Replies: 2 comments
-
|
This doesn't work because Satori doesn't include a HTML parser. Maybe you can try something like https://github.com/developit/htm |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
htm doesn't seem to work because it doesn't support svg at the moment (developit/htm#82). I was able to get a solution working with https://www.npmjs.com/package/html-to-react |
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
Uh oh!
There was an error while loading. Please reload this page.
-
I'm thinking something along the lines of this
Beta Was this translation helpful? Give feedback.
All reactions