Commit graph

14 commits

Author SHA1 Message Date
root
118866ceff Address community review warnings
- Drop plugin id/name from command id and name
- Replace builtin-modules dep with node:module builtinModules
- Commit package-lock.json for reproducible builds

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 23:32:21 +00:00
root
8959642d6e Prepare for Obsidian community submission: id "spoiler", add LICENSE
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 21:49:58 +00:00
root
8c66faa8e5 Trim spoiler format section 2026-06-15 20:51:28 +00:00
root
6e88ebdbf2 Fix spoiler-format docs to match fence-free output
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:50:41 +00:00
root
a9d1c7120b Add demo GIF to README
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:48:53 +00:00
PatruusBarba
7d795b990c
Add files via upload 2026-06-16 01:47:46 +05:00
root
394ec75a6f Fix unwrap corrupting content that contains code fences
Unwrap no longer strips a surrounding ``` fence, so a selection whose content
begins/ends with a code fence round-trips unchanged. Bump to 0.2.1.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:38:02 +00:00
root
1de5a3756e Bump version to 0.2.0
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:28:28 +00:00
root
028fd5627d Wrap selection in a plain spoiler callout, not a code block
The code fence broke markdown rendering inside the spoiler. Wrap now emits a
collapsible `> [!spoiler]-` callout with the selection as continuation lines,
preserving inner markdown. Unwrap still strips the old fenced format for
backwards compatibility.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:26:42 +00:00
root
56a4e0cb0a Document installation from the v0.1 release
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 20:00:47 +00:00
root
3d749c11d0 Ignore build/ and zip artifacts
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 19:46:46 +00:00
root
449f050f69 Implement spoiler plugin: ribbon button to wrap/unwrap selection
Adds an Obsidian plugin that places a button on the left ribbon. Selecting
text and pressing it wraps the selection in a collapsible `> [!spoiler]-`
callout; pressing it on an existing spoiler unwraps it back to plain text.
Also exposed as the "Toggle spoiler on selection" command.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 19:42:52 +00:00
root
64f05d68d8 Fill in README
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-15 19:35:37 +00:00
PatruusBarba
ca6fe4e72e
Create README.md 2026-06-16 00:03:30 +05:00