Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alljavi/spoiler-block-obsidian
Just a simple obsidian plugin to hide information until you want to reveal it
https://github.com/alljavi/spoiler-block-obsidian
obsidian-md obsidian-plugin
Last synced: about 1 month ago
JSON representation
Just a simple obsidian plugin to hide information until you want to reveal it
- Host: GitHub
- URL: https://github.com/alljavi/spoiler-block-obsidian
- Owner: AllJavi
- License: mit
- Created: 2022-12-22T22:10:09.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2023-01-24T11:08:21.000Z (almost 2 years ago)
- Last Synced: 2023-07-20T14:39:50.678Z (over 1 year ago)
- Topics: obsidian-md, obsidian-plugin
- Language: JavaScript
- Homepage:
- Size: 206 KB
- Stars: 14
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Spoiler Block
Just a simple obsidian plugin to hide information until you want to reveal it.
## Demo
![basic functionality](/img/sample.gif)
## How to use
When the mouse is hover the spoiler block...
| Hotkey | Action |
| ------------------------------------------------- | --------------------------- |
| Click | Show information |
| Double-click | Hide information |## How to Install
### From within Obsidian
From Obsidian v0.15.0+, you can activate this plugin within Obsidian by doing the following:
- Open Settings > Third-party plugin
- Make sure Safe mode is **off**
- Click Browse community plugins
- Search for "Spoiler Block"
- Click Install
- Once installed, close the community plugins window and activate the newly installed plugin## Notes
This version only includes the basic functionality. If anyone is interested in improving the
block by making it render markdown instead of just text, feel free to contribute. Another
potential feature that could be added is a command to reveal all the spoilers on the current page.