Expand description
Library for normalizing Markdown tables and wrapping text.
Modules:
htmlfor converting HTML tables.tablefor standardizing Markdown table alignment.wrapfor paragraph wrapping.listsfor renumbering ordered lists.breaksfor thematizing horizontal rules.ellipsisfor replacing textual ellipses.fencesfor issues with code block fencesfootnotesfor converting bare footnote links.headingsfor standardizing Setext headings.code_emphasisfor fixing emphasis adjoining inline code.textprocfor token-based transformations.processfor stream processing.iofor file helpers.
Re-exports§
pub use breaks::THEMATIC_BREAK_LEN;pub use breaks::format_breaks;pub use code_emphasis::fix_code_emphasis;pub use ellipsis::replace_ellipsis;pub use fences::attach_orphan_specifiers;pub use fences::compress_fences;pub use footnotes::convert_footnotes;pub use headings::convert_setext_headings;pub use io::rewrite;pub use io::rewrite_no_wrap;pub use lists::renumber_lists;pub use process::Options;pub use process::process_stream;pub use process::process_stream_no_wrap;pub use process::process_stream_opts;pub use table::reflow_table;pub use table::split_cells;pub use wrap::Token;pub use wrap::tokenize_markdown;pub use wrap::wrap_text;
Modules§
- breaks
- Thematic break formatting utilities.
- code_
emphasis - Fix misplaced emphasis around inline code spans.
- ellipsis
- Replace sequences of three dots with the ellipsis character.
- fences
- Pre-processing utilities for normalizing fenced code block delimiters.
- footnotes
- Footnote normalisation utilities.
- headings
- Heading normalisation helpers.
- io
- File helpers for rewriting Markdown documents.
- lists
- Ordered list renumbering utilities.
- process
- High-level Markdown stream processing.
- table
- Markdown table reflow utilities.
- textproc
- Provides helpers for token-based transformations of Markdown lines.
- wrap
- Utilities for wrapping Markdown lines.
Macros§
Functions§
- convert_
html_ tables - Processes Markdown lines and converts embedded HTML tables to Markdown.
- html_
table_ to_ markdown Deprecated