GFM: collapsible sections not working #1236
-
Hi there. First of all, I want to say thank you for all the great work you did creating this theme. I put this code into my post markdown file: <details><summary>CLICK ME</summary>
<p>
#### We can hide anything, even code!
```ruby
puts "Hello World"
```
</p>
</details> |
Beta Was this translation helpful? Give feedback.
Answered by
george-gca
Jul 13, 2023
Replies: 1 comment
-
The easiest way I found for doing this is using the <details><summary>CLICK ME</summary>
<p>
#### We can hide anything, even code!
{% highlight ruby %}
puts "Hello World"
{% endhighlight %}
</p>
</details> |
Beta Was this translation helpful? Give feedback.
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
The easiest way I found for doing this is using the
highlight
liquid tag instead of pure markdown. Like this: