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

logonofflogonoff11k downloads

Adds Discord-like syntax for inline spoilers.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates15

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.2.7
Last updated
3 weeks ago
Created
2 years ago
Updates
15 releases
Downloads
11k
Compatible with
Obsidian 1.6.5+
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.

Columns

Create columns in Markdown.

Admonition

Admonition block-styled content.

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.

Markdownlint

Use markdownlint to make the contents of your files more consistent.

Paste Reformatter

Reformats pasted text for precise control.

Importer

Convert your data to Markdown files you can use in Obsidian. Works with Apple Notes, OneNote, Evernote, Notion, Google Keep, and many other formats.

Outliner

Work with your lists like in Workflowy or Roam Research.