Hard Wrap for Obsidian
Hard-wrap markdown files on disk while displaying them as soft-wrapped paragraphs in the editor, allowing for clean source files without affecting readability.
Chinese summary
在磁盘上对Markdown文件进行硬换行,同时在编辑器中显示为软换行段落,从而保持源文件整洁而不影响可读性。
Key Use Cases
- Collaborating on markdown documents where contributors expect hard-wrapped lines
- Keeping git diffs cleaner by avoiding long lines
- Converting existing soft-wrapped files to hard-wrapped format
Pros
- Preserves readability in the editor while enforcing hard wraps on disk
- Helps maintain consistent formatting across different editors and viewers
- Transparent operation — no manual line-breaking needed
Limitations
- May interfere with other plugins that manipulate line endings
- Hard wraps can complicate merging in version control if different wrapping widths are used
- Requires careful configuration to avoid unintended line breaks
Tags
Related Plugins
Templater
Templater is a powerful templating plugin that lets you create reusable note templates with dynamic content—dates, random picks, file metadata, and even JavaScript functions. It replaces and extends Obsidian's built-in templates.
QuickAdd
QuickAdd lets you create custom commands to quickly capture thoughts, add to lists, or create new notes from anywhere in Obsidian. It's a powerful capture and automation tool for building personalized workflows.
Editing Toolbar
A highly customizable editing toolbar that provides built-in editing commands for a MS Word-like experience, modified from the cMenu plugin.
Get the best Obsidian plugins in your inbox
Monthly picks: top new plugins, hidden gems, and curated plugin stacks for different workflows.