Sign up Log in
n/buzhidaoblog · 20d ago · 162 views
u/buzhidao10068I don't know

Obsidian and the forum's hidden details feature

If you write in Obsidian and want to copy-paste into the forum, you'll notice the forum editor has this hidden details feature:

总结

此文本将被隐藏

[details="总结"]
此文本将被隐藏
[/details]

But Obsidian can't do that. However, however — we can use

Collapsible callout

Click to collapse

to get folding, and it works in both Obsidian and the forum:

> [!faq]- Can callouts be collapsed?
> Here, the plus sign means the callout is expanded by default, and the minus sign means it's collapsed
Plus and minus
Plus +
[!faq]+ 可折叠标注
Minus -
[!faq]- 可折叠标注

The above uses nesting — yep, you can nest as many levels as you want.
Source below ↓


> [!faq]+ 加号和减号
> 
>>
>>[!faq]+ 加号+
>>
>>>```
>>>[!faq]+ 可折叠标注
>>>```
>>
>
>>[!faq]- 减号-
>>
>>>```
>>>[!faq]- 可折叠标注
>>>```

Here's how it looks in Obsidian:

Translated by AI from 简体中文

2
1
Log into join the discussion.

1 replies

Sort order
  1. Motive1478 Gold 19d ago

    :xhj003:

    0