Markdown Sentence Unwrapper

•
1.9k
•

Reflows hard-wrapped Markdown and Quarto files to ensure each sentence occupies a single line while preserving document structure.

The Markdown Unwrap skill is a specialized utility designed to convert hard-wrapped text into a 'one sentence per line' format, which is ideal for version control and AI-assisted editing. It intelligently joins continuation lines within paragraphs and re-breaks them only at sentence boundaries, while strictly preserving sensitive document elements like YAML front matter, fenced code blocks, ATX headings, block quotes, and list items. This tool is particularly valuable for researchers and developers working with .md or .qmd files who need to clean up legacy formatting or optimize documents for cleaner Git diffs without manually reflowing text.

Características Principales

01Sentence-level line breaking for optimized version control and readability.
02Preservation of YAML front matter, code blocks, and document metadata.
03Intelligent abbreviation handling to prevent false sentence splits.
04Support for both standard Markdown (.md) and Quarto (.qmd) formats.
051,853 GitHub stars
06Flexible output options allowing for in-place editing or new file generation.

Casos de Uso

01Optimizing Markdown files for Git by ensuring sentence-based line changes.
02Cleaning up academic papers or research documentation with inconsistent hard-wrapping.
03Reflowing text extracted from legacy editors or PDFs into a standardized format.