The Trim Whitespace plugin enhances the editing experience in Obsidian by removing unnecessary blank spaces, tabs, and lines from documents. It operates on trailing, leading, and multiple whitespace types, offering cleaner and more organized content. Users can trim specific sections or entire documents, with settings that allow customization, such as preserving code blocks or indented lists. The plugin includes commands for manual and selection-based trimming, as well as options for auto-trimming after modifications with a configurable delay. A ribbon button is also provided for quick access.
CTRL/CMD + S
trims documentCTRL/CMD + S
no longer requires Auto-Trim to be enabled (#12)