Repository navigation
Releases: skrpln/caption-gallery-slider
Release list
0.1.4
Maintenance release answering the community scorecard for 0.1.3. Gallery syntax and behavior are unchanged.
-
The stylesheet no longer uses
!important. Rules that had to outrank a theme now do so through selector specificity, and the cursor shown during a resize drag comes from a single--og-cursorvariable. -
The buttons over the media fade in and out with the overlay that holds them, so hovering one now brightens it as the other gallery buttons do.
-
The build marks Node builtins external through
node:moduleinstead of thebuiltin-modulespackage, which is no longer a dependency. -
Release assets are built, tested, and signed on GitHub Actions, so they carry artifact attestations:
gh attestation verify main.js --repo skrpln/caption-gallery-slider
Requires Obsidian 1.6.6 or newer. Desktop only.
Install
Manual: copy main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/caption-gallery-slider/, then enable the plugin in Community plugins.
Beta testers: install BRAT and add skrpln/caption-gallery-slider.
0.1.3
Obsidian DOM helpers, declarative settings, and slide display fixes.
- The gallery DOM is built with Obsidian's
createEl,createDiv, andcreateSpanhelpers instead ofdocument.createElement. - The settings tab declares its setting through
getSettingDefinitions(), so the caption folder appears in the settings search of Obsidian 1.13 and newer. Older versions keep the imperative tab. - Showing a slide applies its stored rotation and crop without the transition, so the media no longer zooms or spins into place after the caption note loads.
- Cmd/Ctrl-click on the caption note button opens the note in a new tab; the split and new-window modifiers work like on links.
Requires Obsidian 1.6.6 or newer. Desktop only.
Install
Manual: copy main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/caption-gallery-slider/, then enable the plugin in Community plugins.
Beta testers: install BRAT and add skrpln/caption-gallery-slider.
0.1.2
Rotation and caption storage fixes.
- Media with a panned crop now rotates around the viewport center; zoom still scales around the crop focus.
- The rotate transition always turns clockwise, including the step from 270 back to 0.
- Drag and WASD crop panning follow the screen after a quarter turn.
- Caption note paths are resolved case-insensitively against existing vault folders, so a gallery id that changed case keeps its caption notes and rotation no longer fails silently.
- Failed caption writes show a notice and roll the change back instead of leaving the gallery out of sync.
Requires Obsidian 1.6.6 or newer. Desktop only.
Install
Manual: copy main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/caption-gallery-slider/, then enable the plugin in Community plugins.
Beta testers: install BRAT and add skrpln/caption-gallery-slider.
0.1.1
Maintenance release ahead of the Community Plugins submission. Gallery syntax and behavior are unchanged.
- Fixed every error reported by the official Obsidian ESLint rules.
- Dynamic styles are applied with
setCssPropsandsetCssStylesinstead of directstylewrites. - Timers use the window API for popout window compatibility.
- Gallery renderer callbacks are typed as function properties, and stored settings are typed instead of
any. - The "Video position" and "Insert caption" labels use sentence case.
Requires Obsidian 1.6.6 or newer. Desktop only.
Install
Manual: copy main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/caption-gallery-slider/, then enable the plugin in Community plugins.
Beta testers: install BRAT and add skrpln/caption-gallery-slider.
0.1.0
First public release of Caption Gallery Slider.
A fenced gallery code block becomes a media slider for local images and videos, with captions kept as ordinary Markdown notes and editable straight from the gallery.
- Galleries from a folder, an explicit file list, or both.
- Editable Markdown captions stored as regular vault notes, with internal links and hover previews.
- Preview thumbnails, plain dot navigation, and adaptive slider navigation.
- Video playback controls with play, mute, loop, progress, and saved fragment ranges.
cropandfitview modes, rotation, manual crop pan/zoom, and fullscreen view.- Resize handles for the media viewport and the caption panel.
- Caption text follows the active theme and the reading mode of the note.
Requires Obsidian 1.6.6 or newer. Desktop only in this release; mobile support is planned after dedicated touch testing.
Install
Manual: copy main.js, manifest.json, and styles.css into <your-vault>/.obsidian/plugins/caption-gallery-slider/, then enable the plugin in Community plugins.
Beta testers: install BRAT and add skrpln/caption-gallery-slider.