-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
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
@nuxtjs/markdownit not parsing HTML tags #7
Comments
Hi Adam, I ran into this same issue and resolved it by including
Hope this solves your problem. Matt |
Hi Matt, Yes it did, thanks for chiming in! If anybody else is reading this, my specific site doesn't need code so Mark's t might be worth mentioning at @nuxtjs/markdownit that the https://github.com/markdown-it/markdown-it docs list all the parameters. |
Any way to give the options on the fly? like |
Version
1.2.3
Reproduction link
https://codesandbox.io/s/l780y229q7?fontsize=14
Steps to reproduce
Install @nuxtjs/markdownit, follow the instructions to inject text as laid out in its README, and include some HTML in the markdowned text.
What is expected ?
Markdownit will parse HTML.
What is actually happening?
HTML tags are rendered literalIy, at least, the ones I have in my text, namely span and cite.
Additional comments?
Previously I had been using vue-markdown, which did parse these tags. But I noticed in webpack analyze build that it (and other) plugins were adding huge javascript files to the build, so sought substitutes for them, and came to markdownit.
The text was updated successfully, but these errors were encountered: