silverbulletmd / silverbullet

The knowledge hacker's notebook
https://silverbullet.md
MIT License
2.14k stars 155 forks source link

Collapsed Sections #695

Open wehde92 opened 5 months ago

wehde92 commented 5 months ago

Feature request to add collapsed sections.

See the outline here: https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/organizing-information-with-collapsed-sections

Tips for collapsed sections ### You can add a header You can add text within a collapsed section. You can add an image or a code block, too. ```ruby puts "Hello World" ```

<details>

<summary>Tips for collapsed sections</summary>

### You can add a header

You can add text within a collapsed section. 

You can add an image or a code block, too.

```ruby
   puts "Hello World"

davidbeijinho commented 5 months ago

i was even trying to use something similar to this, would be nice maybe if we can just render html elements

JosNun commented 5 months ago

This might be covered by #702