-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Markdown inside HTML doesn't parse #178
Comments
Actually, according to spec, elements inside html blocks should not be parsed by md engine. It is assumed anything inside an HTML block is already in HTML so it shouldn't need to be parsed. The original markdown.pl, however, had a way of parsing HTML blocks by "marking" them with Example:
This was one of the project's original milestones. However, since no one has requested it yet I haven't thought of a way to implement it. Do you think this is an important feature? |
I would greatly enjoy this feature. My main use case is to be able to decorate markdown to look prettier. But I can understand why the original spec didn't make heavy provisions for it- markdown should be markdown, not markdown with html. That being said github doesn't support this. |
@tivie, you say "according to spec". Which spec is that? Is that CommonMark's? |
@rodrigogoncalves No, the original official spec, https://daringfireball.net/projects/markdown/ |
@SyntaxRules Added the feature just now to develop branch. Mind taking a look? |
When there is markdown inside of html it doesn't seem to parse.
For example:
renders as:
Using showdown v1.2.0.
Was this done by design? Or have we not had a need for it?
The text was updated successfully, but these errors were encountered: