Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions src/wrap.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
//! Text wrapping utilities respecting inline code and prefixes.
//! Utilities for wrapping Markdown lines.
//!
//! Unicode width handling follows the "Unicode Width Handling" section in
//! `docs/architecture.md` and uses the `unicode-width` crate for accurate
//! display calculations.
//! These helpers reflow paragraphs and list items while preserving inline code
//! spans, fenced code blocks, and other prefixes. Width calculations rely on
//! `UnicodeWidthStr::width` from the `unicode-width` crate as described in
//! `docs/architecture.md#unicode-width-handling`.

use regex::Regex;

Expand Down
Loading