Skip to content

GFM: collapsible sections not working #1236

Closed Answered by george-gca
vforvoid asked this question in Q&A
Discussion options

You must be logged in to vote

The easiest way I found for doing this is using the highlight liquid tag instead of pure markdown. Like this:

<details><summary>CLICK ME</summary>
<p>

#### We can hide anything, even code!

{% highlight ruby %}
   puts "Hello World"
{% endhighlight %}

</p>
</details>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by george-gca
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants