Re:&& operator chains (and ||, possibly) generates unoptimiz...
by est31 on Monday March 29, 2021 @04:23PM
(#26627698)
The details tag is just html that you can fall back to in markdown: https://developer.mozilla.org/de/docs/Web/HTML/Element/detai...
The main contribution by Github's markdown renderer is that it doesn't remove that tag.
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.
Curious: is there a Markdown exporter that supports some syntax for this?