Inline spoilers

by logonoff
5
4
3
2
1
Score: 49/100

Description

Category: Note Enhancements

The Inline spoilers plugin introduces functionality to Obsidian that allows users to hide and reveal text within their notes using the || syntax. Spoiler text is hidden until clicked, making it ideal for concealing sensitive or optional information. The plugin supports integration with various formatting styles such as bold and italics. Users can configure settings to always display spoilers or manage their visibility dynamically. This feature enhances note readability and organization, providing a seamless way to manage hidden text.

Reviews

No reviews yet.

Stats

24
stars
10,271
downloads
3
forks
646
days
21
days
124
days
1
total PRs
0
open PRs
0
closed PRs
1
merged PRs
19
total issues
10
open issues
9
closed issues
25
commits

Latest Version

4 months ago

Changelog

Changes

  • Fixed regression made in 1.2.4 where clicking a spoiler didn't reveal it
  • Tech debt: adopt eslint-plugin-obsidianmd and add a GitHub action for linting

Full Changelog: https://github.com/logonoff/obsidian-inline-spoilers/compare/1.2.4...1.2.5

README file from

Github

Inline spoilers for Obsidian

Plugin version Minimum Obsidian version GitHub License GitHub Repo stars

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!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Admonition
5 years ago by Jeremy Valentine
Adds admonition block-styled content to Obsidian.md
Advanced Tables
6 years ago by Tony Grosinger
Improved table navigation, formatting, and manipulation in Obsidian.md
Auto pair chinese symbol
5 years ago by renmu123
中文符号自动补齐
Auto-\displaystyle Inline Math
2 years ago by Ryota Ushio
An Obsidian.md plugin to automatically make all inline maths \displaystyle.
Autocorrect Formatter
2 years ago by b-yp
A plugin running on Obsidian that utilizes autocorrect to format Markdown content.
Better Order List
2 years ago by Boninall
Blockquote Levels
4 years ago by Carlo Zottmann
A plugin for Obsidian (https://obsidian.md) that adds commands for increasing/decreasing the blockquote level of the current line or selection(s).
Bottom to Top
a year ago by Henry Gustafson
Callout Integrator
3 years ago by
A plugin for Obsidian to allow the integration of long blocks of text into callouts.
Callout Toggles
2 years ago by Aly Thobani
An Obsidian plugin to quickly add, change, or remove callout wrappers in your notes.
Canvas Format Brush
a year ago by wenlzhang
An Obsidian plugin that allows you to copy and paste formatting attributes (size and color) between canvas elements, similar to the format painter in Word.
Change Case
3 years ago by David Brockman
Plugin to let you change the case (camelCase, snake_case, etc) of the current selection.
Chat clips
a year ago by sleepingraven
Record chat in ordinary markdown list.
cMenu
5 years ago by Chetachi
An Obsidian.md plugin that adds a minimal text editor modal for a smoother writing/editing experience ✍🏽.
Code block from selection
5 years ago by Dmitry Savosh
Obsidian plugin. Adds code block for the selected text.
Discord Timestamps
a year ago by Erika Gozar
Displays discord timestamps in read mode as they would appear in Discord.
Extended Markdown Syntax
a year ago by Kotaindah55
Extend your Markdown syntax using delimiters instead of HTML tags, such as underlining, superscript, subscript, highlighting, and spoiler.
Format Hotkeys
5 years ago by Ansel Santosa
Google Docs style formatting hotkeys for Obsidian
Formatto
2 years ago by Deca
Simple, fast, and easy-to-use Obsidian Markdown formatter.
Heading Level Indent
3 years ago by svonjoi
obsidian plugin for hierarchical structuration of document content based on heading levels
Heading Toggler
2 years ago by Lord Turmoil
Toggle heading levels in Obsidian
heti
2 years ago by Moeyua
Image Helper
2 years ago by Chongmyung Park
Context menu to convert a image to another format in reading view in Obsidian.md
Image Size
a year ago by Jie Zhang
Set the default size for pasted images.
Interlinear Glossing
3 years ago by Mijyuoon
An Obsidian plugin for interlinear glosses used in linguistics texts.
Jisage -Japanese Indentation-
a year ago by Telehakke
Obsidian plugin.
Keyboard Formatter
8 months ago by Lauloque
Formats keyboard text (kbd) in your Obsidian notes quickly and consistently.
LaTeX to unicode converter
3 years ago by fjdu
Convert LaTeX commands into unicode sequences
Markdown Formatting Assistant
5 years ago by Reocin
This Plugin provides a simple WYSIWYG Editor for Markdown and in addition a command line interface. The command line interface facilitate a faster workflow.
Multi-line Formatting
5 years ago by nmady
Format Obsidian text over an entire selection, even if that selection has paragraph breaks in the middle!
Note Placeholder
a year ago by XZSt4nce
Replaces text of note link to placeholder in view mode.
ObsidianTweaks
4 years ago by Jeppe Klitgaard
A plugin that implements a number of tweaks that should've been native to Obsidian.
Ordered List Style
3 years ago by erykwalder
Paste Mode
5 years ago by Jacob Levernier
Obsidian Notes plugin for pasting text and blockquotes to the cursor's current level of indentation.
Paste Reformatter
a year ago by Keath Milligan
A plugin for Obsidian that reformats pasted HTML and plain text content, giving you precise control over how content is transformed when pasted into your notes.
Remove Newlines
2 years ago by Elias Jaffe
A plugin for Obsidian.md which removes newlines and blank lines from selected or pasted text.
Smart Typography
5 years ago by mgmeyers
Converts quotes to curly quotes, dashes to em dashes, and periods to ellipses
Spoiler Block
3 years ago by AllJavi
Just a simple obsidian plugin to hide information until you want to reveal it
Spoilers
2 years ago by Jacobtread
Spoiler blocks for Obsidian
SupSub
3 years ago by Wjgoarxiv
::SupSub enables wrapping selected text with `<sup>` or `<sub>` tags::
Table Extended
5 years ago by AidenLx
Extend basic table in Obsidian with MultiMarkdown table syntax
Text Conversions
3 years ago by Juan D Frias
Text conversions for Obsidian
Toggle Case
3 years ago by automattech
Obsidian plugin to toggle between `lowercase` `UPPERCASE` and `Title Case`
Vim Marker Sharpener
a year ago by Artem Dvoryadkin
Text formatting commands in Vim mode. Supports applying styles (bold, italic, etc.). Works correctly in visual mode with selected text.
Wrap with shortcuts
4 years ago by Manic Chuang
Wrap selected text in custom tags with shortcuts.
Writing
3 years ago by johackim
Write and format your next book directly from Obsidian
复制图文 (Copy Image Text)
a year ago by msgk
obsidian插件,复制笔记内容(包括文本和图片)到剪贴板