You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
id like to propose a new markup tag that can collapse away a bunch of text. some frameworks call these "accordions". we could put this around long explanations, large spoilers, or giant quotes.
[details]a lot of text[/details]
[details=A Summary Or Title Here]a lot of text, probably tons of statistics that bagels likes to put in the forums[/details]
here is how it could look and work. (click the ▸ below)
a lot of textA Summary Or Title Here
a lot of text, probably tons of statistics that bagels likes to put in the forums
<details>a lot of text</details><details><summary>A Summary Or Title Here</summary>
a lot of text, probably tons of statistics that bagels likes to put in the forums
</details>
do arguments to a markup tag support spaces? if not, and this a summary/title being passed in is problematic then I might suggest alternative syntax
[details]a lot of text[/details]
[details=open]a lot of text, probably tons of statistics that bagels likes to put in the forums. this one will default to being open[/details]
which could work like this
a lot of text
a lot of text, probably tons of statistics that bagels likes to put in the forums. this one will default to being open
and would have a syntax like this
<details>a lot of text</details><detailsopen>
a lot of text, probably tons of statistics that bagels likes to put in the forums. this one will default to being open
</details>
The text was updated successfully, but these errors were encountered:
id like to propose a new markup tag that can collapse away a bunch of text. some frameworks call these "accordions". we could put this around long explanations, large spoilers, or giant quotes.
here is how it could look and work. (click the ▸ below)
A Summary Or Title Here
a lot of text, probably tons of statistics that bagels likes to put in the forumsand fortunately all modern browsers already support this functionality that requires no CSS or JS
do arguments to a markup tag support spaces? if not, and this a summary/title being passed in is problematic then I might suggest alternative syntax
which could work like this
and would have a syntax like this
The text was updated successfully, but these errors were encountered: