Markdown Sentence Unwrapper

•
1.9k
•

Reflows hard-wrapped Markdown and Quarto files to ensure every sentence occupies exactly one line while preserving document structure.

Markdown Sentence Unwrapper is a specialized utility designed to clean up hard-wrapped text in .md and .qmd files by converting them to a 'one sentence per line' format. It intelligently joins mid-sentence line breaks within paragraphs and re-breaks them only at sentence boundaries (periods, question marks, and exclamation points). The skill is built with structural awareness, ensuring that YAML front matter, ATX headings, fenced code blocks, block quotes, and list items remain completely untouched. By utilizing an abbreviation-aware splitting algorithm, it prevents false breaks at common titles like 'Dr.' or 'Prof.', making it an essential tool for technical writers and researchers who want cleaner version control diffs and improved document readability.

Características Principales

01Preserves YAML front matter, headers, and fenced code blocks
02Supports in-place file modification or outputting to a new path
03Breaks text into new lines at sentence boundaries (. ! ?)
04Abbreviation-aware logic prevents incorrect splits (e.g., Mr., Dr., i.e.)
05Removes mid-sentence hard-wrapped newlines automatically
061,851 GitHub stars

Casos de Uso

01Reflowing Markdown files for better readability in plain-text editors
02Cleaning up legacy documentation with inconsistent manual line breaks
03Preparing academic Quarto (.qmd) papers for cleaner Git diffs