DEV Community

loading...

Tip of the day: Semantic Line Breaks

tinydevops profile image Jonathan Hall Originally published at jhall.io on ・1 min read

I recently stumbled upon a usability tip for editing certain rich text formats, such as Markdown. Have you ever been bothered by documentation diffs that look something like this?

An ugly text diff

Enter SemBr, the Semantic Line Breaks Specification, which provides a formal spec.

But the TL;DR; version is: When using rich text formats that allow it, press enter after every significant punctuation mark. The end result:

An pretty text diff

Discussion (0)

pic
Editor guide