Skip to main content

Module text_reflow

Module text_reflow 

Source
Expand description

Text reflow utilities for MD013

This module implements text wrapping/reflow functionality that preserves Markdown elements like links, emphasis, code spans, etc.

Structs§

ParagraphReflow
Information about a reflowed paragraph
ReflowOptions
Options for reflowing text

Enums§

ReflowLengthMode
Length calculation mode for reflow

Functions§

reflow_line
reflow_markdown
Reflow markdown content preserving structure
reflow_paragraph_at_line
Reflow a single paragraph at the specified line number
reflow_paragraph_at_line_with_mode
Reflow a paragraph at the given line with a specific length mode.
split_into_sentences
Split text into sentences
split_into_sentences_custom
Split text into sentences with custom abbreviations