Re:&& operator chains (and ||, possibly) generates unoptimiz...
by franga2000 on Tuesday March 30, 2021 @08:35AM
(#26633852)
But how do they put code tags in there? Last time I checked, Markdown doesn't allow Markdown inside HTML tags. Or do they just wrap it in <code><pre> and the syntax highlighter picks it up later in the chain?
Re:&& operator chains (and ||, possibly) generates unoptimiz...
by arthur2e5 on Wednesday March 31, 2021 @11:27AM
(#26648498)
Markdown inside HTML tags is fine as long as there's a paragraph break (two newlines) between the Markdown and the HTML tag. So it usually goes like:
<detail>
<summary>...</summary>
Some `markdown`
</detail>
I would imagine this sort of behavior is in commonmark, but I am too lazy to check.
The main contribution by Github's markdown renderer is that it doesn't remove that tag.