Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 872 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 872 Bytes

Inline Spoilers for Obsidian

This plugin adds support for inline spoilers in Obsidian using the || syntax.

Demo gif

Usage

To create an inline spoiler, wrap the text you want to hide in ||, or by performing the Inline spoilers: Create spoiler command. For example:

||This text will be hidden||

If you want to combine various formatting options, you can nest them, but make sure they are outside the spoiler:

**||This text will be hidden and bolded||**

*||This text will be hidden and italicized||*

To reveal or hide a spoiler, click on it. You may opt to always show all spoilers by enabling the Always show spoilers setting.

Known issues

  • When Hide spoilers in editor view (experimental) is enabled, the spoiler text will be visible if it is inside a table cell.