Module text

Module text 

Source
Expand description

Text processing utilities for Markdown conversion.

Functionsยง

chomp
Extract boundary whitespace from text (chomp).
decode_html_entities
Decode common HTML entities.
escape
Escape Markdown special characters in text.
indent
Indent text with a string prefix.
normalize_whitespace
Normalize whitespace by collapsing consecutive spaces and tabs.
underline
Underline text with a character.