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

all2md.renderers.markdown

Markdown with flavor support (GFM, CommonMark, etc.)

HTML

all2md.renderers.html

HTML5 with CSS styling options

DOCX

all2md.renderers.docx

Microsoft Word documents

PDF

all2md.renderers.pdf

PDF documents with styling

PPTX

all2md.renderers.pptx

PowerPoint presentations

Data Output Formats

Structured data and configuration formats:

Format

Module

Description

JSON

all2md.renderers.json

JSON document output

YAML

all2md.renderers.yaml

YAML document output

TOML

all2md.renderers.toml

TOML configuration output

CSV

all2md.renderers.csv

CSV table export

INI

all2md.renderers.ini

INI configuration output

Markup Output Formats

Markup language renderers:

Format

Module

Description

RST

all2md.renderers.rst

reStructuredText output

LaTeX

all2md.renderers.latex

LaTeX document output

AsciiDoc

all2md.renderers.asciidoc

AsciiDoc output

Org-Mode

all2md.renderers.org

Emacs Org-Mode output

MediaWiki

all2md.renderers.mediawiki

MediaWiki markup output

Textile

all2md.renderers.textile

Textile markup output

DokuWiki

all2md.renderers.dokuwiki

DokuWiki syntax output

Document & E-book Formats

Long-form document renderers:

Format

Module

Description

EPUB

all2md.renderers.epub

E-book creation

ODT

all2md.renderers.odt

OpenDocument Text

ODP

all2md.renderers.odp

OpenDocument Presentation

RTF

all2md.renderers.rtf

Rich Text Format

Special Renderers

Specialized output formats:

Format

Module

Description

Plain Text

all2md.renderers.plaintext

Plain text (strip formatting)

AST JSON

all2md.renderers.ast_json

JSON AST serialization

Jinja

all2md.renderers.jinja

Custom Jinja2 template rendering

Jupyter

all2md.renderers.ipynb

Jupyter notebook output

ArXiv LaTeX

all2md.renderers.arxiv_latex

ArXiv submission LaTeX with figure extraction

Base Renderer Class

All renderers inherit from the base renderer class:

all2md.renderers.base.BaseRenderer

Abstract base class for all AST renderers.

Complete Renderer Reference

For detailed documentation on all renderer modules, see: