{"repo":"jbeda/mdreflow","free":true,"listed":false,"github":"https://github.com/jbeda/mdreflow","clone":"git clone https://github.com/jbeda/mdreflow.git","description":"Reflow Markdown prose: sentence-per-line (semantic line breaks), paragraph-per-line, and hard wrap. Go library + CLI.","language":"Go","stars":23,"topics":["cli","formatter","go","golang","goldmark","markdown","pre-commit-hook","semantic-line-breaks","sembr","sentence-per-line"],"license":"Apache-2.0","category":"cli-tools","readme_excerpt":"mdreflow Reflow Markdown prose. The default mode is sentence-per-line (semantic line breaks); paragraph-per-line and classic hard wrap share the same pipeline. It is a Go library first, with a thin CLI on top. mdreflow changes where lines break inside paragraph prose and touches nothing else. It never rewrites block structure (headings, list markers, tables, escaping) and produces output by splicing reflowed prose into the original bytes, so everything outside a reflowed paragraph passes through byte-for-byte. If you also want lint-style normalization, pair it with a tool like rumdl; the two touch disjoint parts of the file. Why sentence-per-line? Diffs. One changed sentence is one changed line, which makes prose reviews readable and gives both humans and agents a stable convention for edits. Status: early v0. The library API and CLI surface are still moving; every milestone in the design doc is implemented, but nothing is frozen until v1.0.0. Install Via Homebrew: Prebuilt binaries for Linux, macOS, and Windows (amd64 and arm64) are on the releases page, with a checksums.txt alongside. Unpack the archive and put mdreflow on your PATH . Or build from source: Usage mdreflow --help is the complete reference and stays canonical: every flag, the exit-code contract, the config format, and worked examples. The sections below cover the parts you will look up most. With path arguments, mdreflow formats in place: files directly, directories by walking them for .md , .mdx , and .markdo","default_branch":null,"files":null,"tree":[],"storefront":"/r/jbeda","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jbeda/mdreflow/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}