Comment to bookmark to remember how to do this <details open> <!-- add "open" if you want it to be open on load" --> <summary>the text beside the arrow</summary> the rest </details>
Comment to bookmark to remember how to do this
<details open> <!-- add "open" if you want it to be open on load" -->
<summary>the text beside the arrow</summary>
the rest
</details>
I'm going to try it too! I saw this in hungariantoasts comment [here](https://tildes.net/~games/gk3/what_games_have_you_been_playing_and_whats_your_opinion_on_them#comment-3rb9) and had to try it...
I'm going to try it too! I saw this in hungariantoasts comment [here](https://tildes.net/~games/gk3/what_games_have_you_been_playing_and_whats_your_opinion_on_them#comment-3rb9) and had to try it out myself. I see other people are, too. (I guess links don't work in detail tags)
The details feature is HTML based so if you want a link inside it, AFAIK, you have to similarly use HTML instead of the markdown method for links. E.g. <details><summary>link inside</summary><a...
The details feature is HTML based so if you want a link inside it, AFAIK, you have to similarly use HTML instead of the markdown method for links. E.g.
Markdown should work, but I think it needs to have a blank line separating it from the HTML so the parser can recognize you're not writing HTML any more. This works: <details> <summary>link...
Markdown should work, but I think it needs to have a blank line separating it from the HTML so the parser can recognize you're not writing HTML any more. This works:
<details>
<summary>link inside</summary>
[testing a link](https://tildes.net)
</details>
Stuff ...with summary!More stuff. ..and open! For good measure, there are also things. extra formatting for summaries? And presumably for contents too of course More formatting tests in comments...
Well, that's bizarre. If you put detailed text before the summary, it shows up after the summary. This is small text. This is normal text. This is summary text. This is detailed text.
Well, that's bizarre. If you put detailed text before the summary, it shows up after the summary.
What? The summaries don't connect to the details after them. What if I reverse the order and put the summaries after the details? This is details 1. This is summary 1. This is details 2. This is...
What? The summaries don't connect to the details after them.
What if I reverse the order and put the summaries after the details?
This is details 1. This is summary 1. This is details 2. This is summary 2.
Well, that didn't work, either! What if I leave off the closing tag, like I accidentally did in my first comment? This is summary 1. This is details 1. This is summary 2. This is details 2.
Well, that didn't work, either!
What if I leave off the closing tag, like I accidentally did in my first comment?
This is summary 1.
This is details 1.
This is summary 2.
This is details 2.
Click here
Neato indeedFor those curious what this is:
https://gitlab.com/tildes/tildes/issues/150
Link in the summary
SMALL TEXT IN THE DETAILSAlso, when I vote on a comment with expanded <details> block(s), they collapse.
testing tables in expando
Comment to bookmark to remember how to do this
testing <details open>
this should be visible to startI'm going to try it too!
I saw this in hungariantoasts comment [here](https://tildes.net/~games/gk3/what_games_have_you_been_playing_and_whats_your_opinion_on_them#comment-3rb9) and had to try it out myself. I see other people are, too. (I guess links don't work in detail tags)link outside detail tag
The details feature is HTML based so if you want a link inside it, AFAIK, you have to similarly use HTML instead of the markdown method for links. E.g.
<details><summary>link inside</summary><a href="https://tildes.net/">Tildes.net</a></details>
=link inside
Tildes.netMarkdown should work, but I think it needs to have a blank line separating it from the HTML so the parser can recognize you're not writing HTML any more. This works:
produces:
link inside
testing a link
(@Eylrid)
SMALL texts can be nested, too.
Stuff
...with summary!
More stuff...and open!
For good measure, there are also things.
extra formatting for summaries?
And presumably for contents too of course
More formatting tests in comments
EmphasisEmphasis two
Strong
Strongbad
So small
How does this work?
This is small text.
This is summary text.
Well, that's bizarre. If you put detailed text before the summary, it shows up after the summary.
This is small text. This is normal text.
If you put the details after the summary, the summary ignores it. What?
Thank you. That wasn't clear, and I would never have worked out that configuration through trial and error!
What? The summaries don't connect to the details after them.
What if I reverse the order and put the summaries after the details?
Well, that didn't work, either!
What if I leave off the closing tag, like I accidentally did in my first comment?
This is summary 2. This is details 2.
Yeah... no.
I can't work this out by trial and error. Time to ask people.