I have been using Obsidian as my primary note-taking application for some time now and I absolutely love it. However, there are some things that are just easier and more straightforward to do on other platforms, such as Notion. For example, the ability to add toggles in Notion is a feature that I often use instead of regular bullet-points. Creating toggles in Obsidian may not be as straightforward, but it can be done, and in this article I'll show you how.

Markdown is a lightweight markup language that is easy to learn and use. It uses simple syntax to indicate headings, emphasis, lists, links, images, and other formatting elements. Once you are happy with your text, Markdown files can be converted to HTML, PDF or other formats. However, markdown does not natively have a toggle element. But Obsidian has you covered.

Obsidian is a Markdown editor that supports the HTML

tag, allowing you to create collapsible and expandable sections in your notes, just like in Notion. The
tag is an HTML tag that allows you to include additional details (e.g. text, list, images, etc.) that the user can toggle to show or hide. Initially, the widget is collapsed and hidden, and when activated by the user it expands to display the content within.

To add a toggle in Obsidian, use the HTML

tag like this:

Click to expand This is the content that will be hidden by default and revealed when the user clicks on the toggle.

All you need to do is place the

tag around the text or elements you want to include in your toggle. As you can see, you can use the tag to add a header text to your toggle. The result should look something like this:

None

Hope this helped!

Before you leave: