Skip to Content

[Obsidian] Collapsing a section

Posted on

Collapsible Callout in Obsidian

In Obsidian, you can collapse a section (without collapsing all sections) using a collapsible callout.

How to Create a Collapsible Callout

Use the following markdown:

> [!NOTE]- This is a collapsible callout.
> It stays collapsed by default until the reader clicks to expand it.

Important: To make a callout collapsible, add a dash (-) after the [!type], as shown above.

Pasting Multiple Lines into a Callout

Problem

Currently, if you copy and paste multiple lines into a callout, only the first line appears inside the callout. This happens because each line inside a callout must start with > (the blockquote symbol).

Solution

Follow these steps to paste multiple lines into a callout properly:

  1. Paste your multiple lines inside the note.
  2. Select all the lines.
  3. Press Command + P, then search for and select “Toggle blockquote”.

🎉 Done! Now all lines will be inside the callout.

References

comments powered by Disqus