Skip to main content

Module elements

Module elements 

Source

Enums§

Element
TableAlignment
Structured document elements parsed from Markdown. These carry formatting intent so the PDF generator can render headers at different sizes, indent lists, etc.
TextSegment
Text segment with inline formatting

Functions§

has_inline_formatting
Check if text contains any inline markdown formatting
parse_inline_formatting
Parse inline markdown formatting into styled text segments
parse_markdown
Parse markdown text into structured elements
strip_inline_formatting
Strip inline markdown formatting from text (bold, italic, code, links, strikethrough)