Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Inline spoilers

logonofflogonoff15k downloads

Adds Discord-like syntax for inline spoilers.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates17

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.

Theming

There are CSS variables and classes you can use to style spoilers to your liking. These can be used in a CSS snippet to override to customize the appearance of spoilers, without needing to modify the plugin.

Refer to the styles.css file for more details.

Bugs and feature requests

Please report any bugs or request features on the GitHub issues page. The plugin author is no longer an active Obsidian user, the best way to get a feature or bug fix implemented is to submit a pull request. Contributions are always welcome :)

Stars on GitHub are also appreciated!

HealthExcellent
ReviewSatisfactory
About
Add inline spoilers using the ||...|| syntax to hide text within notes. Reveal or hide spoilers by clicking, optionally show all spoilers at once, and customize appearance with provided CSS variables and classes.
FormattingMarkdownCSS
Details
Current version
1.3.1
Last updated
Last week
Created
2 years ago
Updates
17 releases
Downloads
15k
Compatible with
Obsidian 1.13.0+
Platforms
Desktop, Mobile
License
GPL-3.0
Report bugRequest featureReport plugin
Author
logonofflogonoff
logonoff.co
GitHublogonoff
  1. Community
  2. Plugins
  3. Formatting
  4. Inline spoilers

Related plugins

Blur

Create obfuscated blocks of text.

Admonition

Admonition block-styled content.

Text Format

Format selected text upper/lower/capitalize.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Custom Frames

Turn web apps into panes using iframes with custom styling. Also comes with presets for Google Keep, Todoist and more.

Image Captions

Add captions to images with inline Markdown and link support. The caption format is compatible with the Commonmark spec and other Markdown applications.

Sheets Extended

Vertical headers, merged cells, and custom CSS tables with Advanced Tables compatability.

PanGu

Add spaces between Chinese characters and English alphabet. A boon for typographically compulsive people.

Better Bullets

Improves readability of bulleted notes.

Format with Prettier

Format files in your vault using Prettier.