Skip to content

Releases

Stretch 0.3.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 14:31

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

Choose a tag to compare

@github-actions github-actions released this 20 Oct 13:00

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

Choose a tag to compare

@github-actions github-actions released this 20 Oct 10:13

What's Changed

Full Changelog: 0.1.3...0.2.0

Stretch 0.1.3

Choose a tag to compare

@github-actions github-actions released this 19 Oct 22:05

What's Changed

New Contributors

Full Changelog: 0.1.2...0.1.3

Stretch 0.1.2

Choose a tag to compare

@github-actions github-actions released this 19 Oct 21:02

Full Changelog: 0.1.1...0.1.2

Stretch 0.1.1

Choose a tag to compare

@channingwalton channingwalton released this 19 Oct 09:48

Full Changelog: 0.1.0...0.1.1

Stretch 0.1.0

Choose a tag to compare

@channingwalton channingwalton released this 19 Oct 09:12

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.