We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Setting html: true in markdownOptions doesn't seem to work.
html: true
Here's a simple example: I would expect the <a> to render as a link, but it renders as text instead.
<a>
import React from "react"; import { render } from "react-dom"; import MDReactComponent from "markdown-react-js"; const App = () => ( <div> <MDReactComponent text="hello. <a href='#'>Link</a>" markdownOptions={{ html: true }} /> </div> ); render(<App />, document.getElementById("root"));
https://codesandbox.io/s/j4r51776l5
This is working in markdown-it with html enabled https://markdown-it.github.io/
The text was updated successfully, but these errors were encountered:
Would also like to see this working
Sorry, something went wrong.
No branches or pull requests
Setting
html: true
in markdownOptions doesn't seem to work.Here's a simple example:
I would expect the
<a>
to render as a link, but it renders as text instead.https://codesandbox.io/s/j4r51776l5
This is working in markdown-it with html enabled
https://markdown-it.github.io/
The text was updated successfully, but these errors were encountered: