Repository navigation
Releases
Stretch 0.3.1
Clears the :has and !important warnings from Obsidian's CSS lint. Notes look the same as in 0.3.0, on screen and in Export to PDF.
The plugin now marks each stretch callout it draws with a stretch-prose class and unfolds a folded one, > [!stretch]-. Before, the stylesheet found these callouts with :has and overrode the fold with !important.
Stretch 0.3.0
Stretchtext now comes from a stretch callout, so a note can mix stretch paragraphs with ordinary nested lists.
Breaking
The cssclasses: stretch opt-in and the file menu's Make stretchable are gone. A note that used the class now shows plain lists. To bring one back, wrap its list in a stretch callout:
> [!stretch]
> - The build fails on a stale cache.
> - The CI cache is keyed only by `package.json`.
> - The fix is to key the cache on the lockfile.Changes
- Only the bullet lists of a top-level
> [!stretch]callout are drawn; every other list stays a list. - The callout's box and title are hidden, so it reads as a paragraph of the note. A folded
> [!stretch]-shows its paragraph all the same. - Live Preview draws the paragraph too, until you edit the callout.
- Export to PDF prints a stretch callout's lists with every level open.
Full change: #10
Stretch 0.2.0
What's Changed
- Lint with the rules Obsidian's plugin review runs by @channingwalton in #6
- Print stretch notes as prose in PDF export by @channingwalton in #9
Full Changelog: 0.1.3...0.2.0
Stretch 0.1.3
What's Changed
- Add Make stretchable to the file menu by @channingwalton in #5
New Contributors
- @channingwalton made their first contribution in #5
Full Changelog: 0.1.2...0.1.3
Stretch 0.1.2
Stretch 0.1.1
Stretch 0.1.0
Initial release of Stretch: turn nested bullet lists into expandable paragraphs in Obsidian's reading view.
- Reveal one level at a time by clicking a sentence or its expand button; collapse it again with the close button.
- Navigate the expand and collapse buttons with Tab, Enter, and Space.
- Enable Stretch per note with
cssclasses: [stretch]in frontmatter. - Keep expansion state for the session while leaving the underlying Markdown unchanged.
Requires Obsidian 1.14.4 or later on desktop. Mobile support has not been tested and is disabled.
For manual installation, download main.js, manifest.json, and styles.css into your vault's .obsidian/plugins/stretch/ directory, then enable Stretch in Community plugins.
See the README for usage examples and limitations.