Skip to main content

Module lists

Module lists 

Source
Expand description

List normalization for Markdown lists.

This module detects and normalizes Markdown lists, fixing inconsistent indentation and bullet styles.

Structs§

List
Represents a complete list.
ListItem
Represents a detected list item.

Functions§

detect_lists
Detect all lists in the given content.
normalize_bullet_styles
Normalize bullet styles to a consistent character.
normalize_list_indentation
Normalize list indentation to standard 2-space increments for unordered lists.
normalize_lists
Normalize lists in content with both indentation and bullet style fixes.
normalize_loose_lists
Normalize spacing between headers/paragraphs and lists.