Replies: 1 comment
-
No because of the way the renderers use the parser. It is possible for you to only use the Lexer then create your own parser and renderers to parse the tokens to jsx. I believe that is what https://www.npmjs.com/package/marked-react does. |
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
-
I know this library is pretty HTML specific but my project is using defined JSX types that I want to return rather than a string (I have to do further processing on the objects themselves before sending out as JSON). Ex:
Is it possible to instead have a generic renderer/parser?
Beta Was this translation helpful? Give feedback.
All reactions