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
  • Join the community
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Inline spoilers

logonofflogonoff10k downloads

Adds Discord-like syntax for inline spoilers in reader mode.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates13

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!

76%
HealthGood
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.2.5
Last updated
4 months ago
Created
2 years ago
Updates
13 releases
Downloads
10k
Compatible with
Obsidian 1.6.5+
License
GPL-3.0
Report bugRequest featureReport plugin
Author
logonofflogonoff
logonoff.co
GitHublogonoff
  1. Community
  2. Plugins
  3. Formatting
  4. Inline spoilers

Related plugins

Columns

Create columns in Markdown.

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.

Admonition

Admonition block-styled content.

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.

Highlightr

A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier with a configurable assortment of highlight colors.

Importer

Import data from Notion, Evernote, Apple Notes, Microsoft OneNote, Google Keep, Bear, Roam, and HTML files.

Outliner

Work with your lists like in Workflowy or Roam Research.

Various Complements

Complete words similar to auto-completion in an IDE.

Style Settings

Adjust theme, plugin, and snippet CSS variables.