Skip to main content

render_plaintext()

Render this subtree as plain text using markdown_to_plaintext rules.

Usage

Source

render_plaintext(
    *,
    width=0,
)

width sets the approximate wrapping column; 0 disables automatic wrapping. Parsing options such as smart punctuation and extensions must be set when creating the tree. Output includes a trailing newline.