Renderers
Renderers convert the all2md AST into various output formats. Each renderer implements
the BaseRenderer interface and accepts format-specific options.
Core Output Formats
Primary output formats with full formatting support:
Format |
Module |
Description |
|---|---|---|
Markdown |
Markdown with flavor support (GFM, CommonMark, etc.) |
|
HTML |
HTML5 with CSS styling options |
|
DOCX |
Microsoft Word documents |
|
PDF documents with styling |
||
PPTX |
PowerPoint presentations |
Data Output Formats
Structured data and configuration formats:
Format |
Module |
Description |
|---|---|---|
JSON |
JSON document output |
|
YAML |
YAML document output |
|
TOML |
TOML configuration output |
|
CSV |
CSV table export |
|
INI |
INI configuration output |
Markup Output Formats
Markup language renderers:
Format |
Module |
Description |
|---|---|---|
RST |
reStructuredText output |
|
LaTeX |
LaTeX document output |
|
AsciiDoc |
AsciiDoc output |
|
Org-Mode |
Emacs Org-Mode output |
|
MediaWiki |
MediaWiki markup output |
|
Textile |
Textile markup output |
|
DokuWiki |
DokuWiki syntax output |
Document & E-book Formats
Long-form document renderers:
Format |
Module |
Description |
|---|---|---|
EPUB |
E-book creation |
|
ODT |
OpenDocument Text |
|
ODP |
OpenDocument Presentation |
|
RTF |
Rich Text Format |
Special Renderers
Specialized output formats:
Format |
Module |
Description |
|---|---|---|
Plain Text |
Plain text (strip formatting) |
|
AST JSON |
JSON AST serialization |
|
Jinja |
Custom Jinja2 template rendering |
|
Jupyter |
Jupyter notebook output |
|
ArXiv LaTeX |
ArXiv submission LaTeX with figure extraction |
Base Renderer Class
All renderers inherit from the base renderer class:
Abstract base class for all AST renderers. |
Complete Renderer Reference
For detailed documentation on all renderer modules, see: