Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Better Line Breaks

qianhanglvqianhanglv4 downloads

Typora-like line breaking: Enter starts a new paragraph, Shift+Enter inserts a soft break, Backspace at a paragraph start steps back cleanly, and pasted plain text is split into paragraphs. Typora 式换行

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

中文说明 → README.zh-CN.md

A Typora-like line-breaking plugin for Obsidian.

If you moved from Typora to Obsidian, you probably hit the same three annoyances: one Enter does not start a real paragraph, Shift+Enter does not feel like a soft break, and Backspace at the start of a paragraph does not jump cleanly to the end of the previous one. This plugin fixes those, and tidies up pasted plain text too.

Before you start

Turn off “Strict line breaks” (Settings → Editor → Strict line breaks).

It is ON by default in Obsidian. With it on, the single \n written by Shift+Enter is rendered as a space, so soft breaks collapse into the paragraph. The plugin shows a one-time reminder if it detects the setting is on.

What it does

Action Behavior
Enter Always inserts exactly two newlines — a real paragraph break
Shift+Enter Inserts exactly one newline — a soft break inside the paragraph
Backspace at paragraph start Looks at how many newlines precede the cursor: even → removes two, odd → removes one. The cursor always lands on a normal text line
Paste Plain text that is only hard-wrapped (single newlines, no blank lines, no Markdown syntax) is split into paragraphs. Markdown-looking text is pasted unchanged
Blank lines Rendered as a short paragraph gap instead of a full empty line

Every behavior has its own toggle. Lists, blockquotes, tables, fenced code blocks, math blocks and YAML frontmatter are never touched — they keep Obsidian's native behavior.

Install

From the community plugins list

Settings → Community plugins → Browse → search for Better Line Breaks (or typora).

Manually

Download main.js, manifest.json and styles.css from the latest release and put them in:

<vault>/.obsidian/plugins/typora-flow/

Then enable the plugin in Settings → Community plugins.

Settings

Setting Default What it does
Enter / Shift+Enter 换行 On Enter = paragraph break, Shift+Enter = soft break
段首退格 / Smart Backspace On Step over blank lines as described above
粘贴时整理段落 / Reformat pasted text On Turn hard-wrapped plain text into paragraphs

A single paste can bypass the cleanup: run “Paste as-is” from the command palette.

Details worth knowing

  • IME safe. While a Chinese/Japanese/Korean input method is composing, Enter is left alone, so choosing a candidate with Enter still works.
  • Backspace parities. With two newlines before the cursor, Backspace removes both (the paragraphs merge). With three, it removes one and leaves a standard two-newline break, so a single keystroke never collapses more than one paragraph break.
  • Soft breaks are real newlines. Shift+Enter writes one \n into the file. A soft break is still a real line in the editor — the plugin cannot make it disappear, it only makes blank lines visually short.
  • Paragraph gap. Adjust --tf-paragraph-gap in styles.css (default 0.9em).

Known limits

  • Lists, blockquotes, tables, code blocks and math blocks are intentionally left alone.
  • Pasting does not unwrap text that already contains blank lines; that is treated as intentional structure.
  • Desktop only for now.

Development

No build step. main.js is plain CommonJS and is the source.

node _test.cjs      # 47 assertions, no dependencies

License

MIT

HealthExcellent
ReviewSatisfactory
About
Bring Typora-like line breaks to Obsidian. Insert two newlines on Enter for real paragraph breaks, one newline on Shift+Enter for soft breaks, use smart Backspace to jump cleanly to the previous line, and reflow pasted hard-wrapped plain text into proper paragraphs while leaving lists, code blocks, tables and YAML untouched.
EditingFormatting
Details
Current version
1.4.1
Last updated
8 hours ago
Created
9 hours ago
Updates
2 releases
Downloads
4
Compatible with
Obsidian 1.4.0+
Platforms
Desktop only
License
MIT
Report bugRequest featureReport plugin
Author
qianhanglvqianhanglv
GitHubqianhanglv
  1. Community
  2. Plugins
  3. Editing
  4. Better Line Breaks

Related plugins

Editing Toolbar

The Editing Toolbar is modified from cMenu, which provides more powerful customization settings and has many built-in editing commands to be a MS Word-like toolbar editing experience.

Underline

Add underline with shortcut.

Text Format

Format selected text upper/lower/capitalize.

Sort and Permute lines

Sort and Permute lines in whole file or selection.

Easy Typing

Auto format when typing.

List Callouts

Create simple callouts in lists.

Admonition

Admonition block-styled content.

LanguageTool Integration

Advanced grammar and spell checking, powered by LanguageTool.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Meta Bind

Make your notes interactive with inline input fields, metadata displays, and buttons.