Re:Footnotes now supported in GitHub Markdown
by c-smile on Thursday September 30, 2021 @06:55PM
(#28712299)
I would rather define some MD rule for <DL><DT><DD> and ask viewers to use collapsing
[ Parent
| on HN ]
Re:Footnotes now supported in GitHub Markdown
by mstade on Sunday October 03, 2021 @09:56AM
(#28737167)
We did something similar to this, but used ~ instead, like so:
~ Definition title
The definition data should be indented at the same level
as the title. This let's you nest definitions also:
~ Like this
Here's a nested definition.
We also allowed : instead of ~ but most people seemed to prefer the latter. We didn't collapse anything in rendering though, but it's not a bad idea. The resulting markup when rendered to HTML was actual definition lists (<dl>) though, not details, so that'd either have to be done by nesting details or css magic I suppose.