4 ms·
If anyone wonders like I did what markdown magic could've made the collapsible "Details" sections in the second comment, it's actually standard HTML5 - https://
by Arnavion 10y ago
If anyone wonders like I did what markdown magic could've made the collapsible "Details" sections in the second comment, it's actually standard HTML5 - https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details https://developer.mozilla.org/en-US/docs/Web/HTML/Element/de...
- SeriousM 10y agoThank you, I was really wondering if github is collapsing too long code snippets on mobile.
- bhrgunatha 10y agoHow do you use github flavoured markdown to embed <details> tags - surely you can't just use the html tags? Isn't that the whole point of markdown - to limit users html input so there aren't any security escalations?
- jfroma 10y agoIt is not the point of markdown, in fact any html tag is valid in markdown if you read the original description [1]. Github does strip some tags for security reasons like <script>. Some of the parsers I have seen offer this feature. 1: https://daringfireball.net/projects/markdown/syntax#html https://daringfireball.net/projects/markdown/syntax#html