Commit graph

10 commits

Author SHA1 Message Date
@gapmiss
b148d2455c fix: use document instead of activeDocument for hover class
Obsidian's new settings window is a separate document, so activeDocument
was targeting the wrong body when toggling the reveal-on-hover setting.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-30 16:39:53 -05:00
@gapmiss
0a4f6e24a0 feat: add Live Preview support for inline blur syntax
Adds CM6 ViewPlugin to render inline blur syntax (~{...}, ~[...], ~(...))
in Live Preview mode. Clicking on obfuscated text reveals source for editing.

Closes #3

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-30 16:13:38 -05:00
@gapmiss
e5ec44db83 feat: add built-in reveal on hover setting
Add settings tab with toggle to reveal blurred/boned text on hover,
removing the dependency on obsidian-style-settings plugin. Also fix
CSS selectors that were looking for descendant instead of class on body.

- Add BlurPluginSettings interface and PluginSettingTab
- Fix hover CSS selectors (body .class → body.class)
- Update README with settings section and method behavior notes
- Fix inline content extraction bug (substring → slice)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-29 19:50:10 -05:00
@gapmiss
6850afbefd Fix Obsidian community scorecard warnings
- Add eslint-plugin-obsidianmd with typescript-eslint type-checked rules
- Remove console.log from onload/onunload
- Fix type safety: proper types, unused params prefixed with _
- Use createDiv() instead of createEl("div")
- Remove !important from CSS via increased selector specificity
- Replace deprecated builtin-modules with native builtinModules
- Update esbuild config for v0.24 watch API
- Add pnpm-lock.yaml for reproducible builds
- Add GitHub release workflow with artifact attestation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-05-22 22:39:20 -05:00
gapmiss
000d9d36ed removed interface; v1.0.1 2023-05-30 13:09:48 -04:00
gapmiss
94f737afd2 working towards v1.0.0 2023-05-27 17:14:58 -04:00
gapmiss
cbf3a15ea2 Moderate re-factoring; CSS Styles; README 2023-01-21 17:20:14 -05:00
gapmiss
9c6b8dea1d CSS color fix, 86'd console logs 2023-01-20 10:16:38 -05:00
gapmiss
186d4966d2 v0.0.1 2023-01-13 10:09:48 -05:00
gapmiss
9dc5d3df94
Initial commit 2023-01-13 14:55:35 +00:00