Skip to main content

Module text

Module text 

Source
Expand description

Plain text generation from HTML content

Converts HTML posts to plain text format for curl-friendly output. Produces well-formatted text with proper indentation, tables, and structure.

Functionsยง

format_home_text
Format home page as plain text (ASCII)
format_post_text
Format a post as plain text with metadata header (ASCII)
html_to_text
Convert HTML content to plain text with beautiful formatting