Skip to content

Releases: husjon/obsidian-trim-whitespace

0.5.1

Choose a tag to compare

@github-actions github-actions released this 10 Oct 11:06

As of 3rd of October 2026 the repository was transferred to me Jon Erling (@husjon) from Zack (@zlovatt).
This is mainly an administrative patch to update links and fix small things with regards to the Obsidian Community listing.

What's Changed

  • No longer use EOL from node since the editor always uses newlines

Full Changelog: 0.5.0...0.5.1

0.5.0

Choose a tag to compare

@github-actions github-actions released this 27 Aug 08:52

What's Changed

  • Extend Lines to keep to work for min and max lines by @husjon in #46

Full Changelog: 0.4.1...0.5.0

0.4.1

Choose a tag to compare

@github-actions github-actions released this 03 Dec 18:26

What's Changed

Full Changelog: 0.4.0...0.4.1

0.4.0

Choose a tag to compare

@github-actions github-actions released this 28 Sep 10:10

What's Changed

  • Formatting of project by @husjon in #30
  • Update project setup by @husjon in #31
  • fix(TrimWhitespace): updated type signature by @husjon in #32
  • Update release workflow by @husjon in #33
  • Fix: Trim-on-save by @husjon in #37
  • Add: Option for converting non-breaking spaces by @husjon in #35
  • Add: Option for preserving a set amount of lines at the end of the file by @husjon in #36

New Contributors

Full Changelog: 0.3.0...0.4.0

v0.4.0-0

v0.4.0-0 Pre-release
Pre-release

Choose a tag to compare

@github-actions github-actions released this 24 Sep 13:25

What's Changed

New Contributors

Full Changelog: 0.3.0...v0.4.0-0

0.3.0

Choose a tag to compare

@github-actions github-actions released this 30 Jul 22:39

Added

  • Jest test suite (thanks @velebit!)
  • Setting to preserve leading characters if part of an indented list
  • Setting to control whether CTRL/CMD + S trims document

Changed

  • Auto-Trim to skip currently-active text block (#5)
  • Trimming via CTRL/CMD + S no longer requires Auto-Trim to be enabled (#12)
  • "Skip Code Blocks" setting name to "Preserve Code Blocks"
  • Improved detection of code blocks

Fixed

  • Trimming of indented lists (#9)
  • Plugin not loading on iOS (thanks @velebit!) (#14)
  • Typo in settings (#16)
  • Issue trimming code blocks containing template literals (#17)

0.2.2

Choose a tag to compare

@github-actions github-actions released this 10 Aug 22:44

Changed

  • "Cmd/Ctrl+S" triggers auto-trim, if enabled (#6)

Fixed

  • "Skip code blocks" failing with multiple nearby code fences (#8)
  • "Skip code blocks" misplacing selection cursors in documents containing code

0.2.1

Choose a tag to compare

@github-actions github-actions released this 24 Jul 22:23

Fixed

  • "Skip code blocks" failing if more than 10 code blocks present in document (#7)

0.2.0

Choose a tag to compare

@github-actions github-actions released this 13 Jul 17:16

Added

  • Setting to control minimum time delay between auto-trim (#1)
  • Option to skip code blocks (#4)

Changed

  • Mechanism used for auto-trimming
  • 'Multiple Characters' to only trim inline characters (#2)

Fixed

  • 'Multiple Characters' trimming within tables (#3)

0.1.0

Choose a tag to compare

@github-actions github-actions released this 28 Jun 00:44
Initial commit