https://github.com/logonoff/obsidian-inline-spoilers
Adds Discord-like syntax for inline spoilers.
https://github.com/logonoff/obsidian-inline-spoilers
obsidian-plugin
Last synced: about 1 year ago
JSON representation
Adds Discord-like syntax for inline spoilers.
- Host: GitHub
- URL: https://github.com/logonoff/obsidian-inline-spoilers
- Owner: logonoff
- License: gpl-3.0
- Created: 2024-07-07T00:55:24.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-10-21T23:36:56.000Z (over 1 year ago)
- Last Synced: 2024-10-22T07:25:45.373Z (over 1 year ago)
- Topics: obsidian-plugin
- Language: TypeScript
- Homepage: https://obsidian.md/plugins?search=Inline%20spoilers
- Size: 146 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Inline Spoilers for Obsidian
This plugin adds support for inline spoilers in [Obsidian](https://obsidian.md) using the `||` syntax.

## 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.