Skip to content

chore: toggle soft line breaks - #369

Merged
RivoLink merged 1 commit into
mainfrom
chore/toggle-soft-line-breaks
Nov 12, 2026
Merged

RivoLink merged 1 commit into
mainfrom
chore/toggle-soft-line-breaks

Conversation

@RivoLink

@RivoLink RivoLink commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Summary

Added an option to control how soft line breaks are handled in Markdown paragraphs.

  • Added keep-soft-breaks configuration option (defaults to true).
  • Setting keep-soft-breaks = false joins soft line breaks instead of preserving them in the output.
  • Added Shift+B keyboard shortcut to toggle between keeping and joining soft line breaks at runtime.

Motivation

This improves readability when viewing Markdown files containing hard-wrapped paragraphs, avoiding unnecessarily short lines and excessive vertical space in the terminal.

@RivoLink RivoLink self-assigned this Nov 12, 2026
@RivoLink RivoLink linked an issue Nov 12, 2026 that may be closed by this pull request
@RivoLink
RivoLink merged commit dd4544f into main Nov 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature request] Option to ignore in-paragraph line breaks

1 participant