Open dtao opened 11 years ago
Why is this not merged yet? According to the Spec of markdown, HTML tags must be supported.
Any idea when this change be merged?
good question.. this is sadly not in accordance with markdown specs ... any specific reason why ?
Is this going to be merged? it would be nice to have html tags
Hey it would nice to know what’s blocking here, any way we can help out? Thanks—
A few things:
Work out what we want to do in cases like this:
<div>This *is still* markdown in some parsers and should be parsed as such.</div>
(I'm not hugely happy with the idea of a __RAW block in HTML but eh, I'll live)
@ashb:
Note that Markdown formatting syntax is not processed within block-level HTML tags. E.g., you can’t use Markdown-style emphasis inside an HTML block.
I agree that __RAW
looks pretty ugly, but given my position on point 2 above, I think the term "raw" actually makes a lot of sense as it implies no additional processing (hence no embedded Markdown).
I’d also follow Gruber, especially if it is the behaviour that already works now, and is followed in many other implementations.
If someone has a need for Markdown processing in HTML tags they can always try and do a pull request after… It could be an option, or like in python-markdown an attribute you specify on the HTML.
cheers,
Very much interested in seeing this merged too!
(I'm not expecting the original author to pick this up as I've let it languish for years. Just for the record)
This patch goes someway to addressing HTML support but doesn't account for inline html elements Hi I am <em>html</em>
.
Additional in #279 the case was made that HTML support should not be on by default and I'm tempted to agree.
This is almost the same change @marijnh submitted 2 years ago in evilstreak/markdown-js#34, but with a few differences: