Expand description
Conservatively remove manual line breaks from Markdown prose.
A second implementation of the unwrap, answering to the same conformance
corpus as the Python one in src/markdown_prose_hooks/. The corpus is the
specification; neither implementation is.
Re-exports§
pub use paragraph::unwrap_markdown_prose;
Modules§
- cli
- The command line: argument parsing, file walking, reporting, exit codes.
- code_
span - Inline code spans: the one pattern in the tool that cannot be a regex here.
- fuzz
- Document generator for the differential fuzzer.
- ignore
.unwrapignorepatterns and--excludeglobs.- label
- Label rows: the shapes whose line breaks are layout rather than wrapping.
- links
- Badge blocks: runs of lines that are nothing but links.
- paragraph
- The line state machine: the pass that actually rewrites the document.
- scan
- Structural line matchers: what a line is, before anything decides what to do with it.
- transcript
- Transcript detection: the one classifier the transform tier cannot pin.
Structs§
- Unwrap
Result - Result of applying the Markdown prose unwrap pass.