react-showdown
react-showdown copied to clipboard
Render React components within markdown and markdown as React components!
GitHub-style tasklists do not render checked boxes correctly, even when `tasklists: true` is set in the `options`. For example, the following Markdown will render incorrectly: ``` - [x] This renders...
- add Wrapper param ```js const Div = () => { return } ... ```
It would be cool if JSON values could be passed as props to the react component, similar to JSX. E.g. `` or ``. ```tsx const MyComponent = ({ items })...
i had a problem with XSS filter `Error in unnamed extension sub-extension 0: must be an object, but function given`
How to get metadata using React component? An example is given in the documentation: ``` js var conv = new showdown.Converter({metadata: true}); var html = conv.makeHtml(someMd); var metadata = conv.getMetadata();...
Hi there :wave: It looks like the parser for custom components gets confused when it's children are given over multiple lines. E.g. this works: ```jsx foo bar ``` Doesn't work:...
Hello, is there a way to override the behavior of the link parser? I would like links to be rendered in the following exhaustive scenarios: - Bare URL (`simplifiedAutoLink` enabled)...
Refer to issue #79
After conducting a security vulnerability analysis on the package, I noticed two opportunities for security vulnerabilities to make its way into applications when this package is being utilized. The first...