-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Parse markdown inside HTML #14
Comments
Hi, sorry for delay. The reason is that before If you try it on raw markdown-it, any markdown syntax inside a html tag in a single line will be kept as is. That might not be intuitive, but that's the commonmark spec defines how to treat HTML tags inside markdown. |
No problem. The only workaround is to add additional blank spaces:
But in that case there will be an additionnal
Is there any other option ? |
Maybe we could add a loose mode for that. |
Alternatively, to make it looks more markdown-like, you can also make use of some plugins like markdown-it-container to render the component.
|
Thanks for the feedback |
It would be great if markdown inside HTML could be parsed (like for MDX2).
Regarding this markdown (Alert being a custom vue component with a slot):
I would expect:
Current result:
The case with the custom Vue component was working (markdown inside the component was parsed) in version
0.1.0
but removed in version0.1.1
with the addition of thecomponentPlugin
.The text was updated successfully, but these errors were encountered: