Markdown support Details tag


#1

Hi Glitch (ers?),

First Thanks a lot for this awesome perfect extravagant crazy splendid and everything beyond tool :smiley:

I am using Glitch for introduction to Code for non developers (management, HR, etc…)
I am using a nodejs project, and use the README.md has a tutorial with explanations, exercises, solutions.

For the solutions, I embed them in :


<details>
  <summary>show answer</summary>
  
  solution goes here...

</details>

But it doesn’t render has it should…
like here (it’s working perfectly in the forum !!!) :

show answer
console.log("Perfect Answer");

is there a secret trick ?
It would be very very nice to have that in the markdown rendering of the projects :slight_smile:

Thanks in advance !

Nicolas SAVOIS !


#2

When you say it doesn’t render correctly, do you mean in the browser, or in the editor?


#3

it doesnt render in the Markdown View (it’s ok the markdown editor)


#4

here is a link to what it does in glitch and what it should do (in github)

example