Package atessera.markdown.renderers
package atessera.markdown.renderers
Provides custom node renderers for the extended Markdown AST nodes.
This package contains NodeRenderer implementations that convert Alpha Tessera's custom AST
nodes into LaTeX or HTML output. These renderers are plugged into the
rendering pipelines of LatexTarget and HtmlTarget.
Renderer classes
TexNodeRenderer- Renders custom AST nodes into LaTeX. Delegates to the
Renderersinterface for each node type. Supports headings (viarenderHeadingOpening/renderHeadingClosing), math definitions and blocks, labels, references, bibliography items, and multi-blocks. WhensilentBibItemsistrue, bibliography items are silently collected rather than rendered inline. HtmlNodeRenderer- Renders custom AST nodes into HTML. Delegates to the
Renderersinterface for each node type. Handles headings (with customizable prefix viaonHeading), text (with customizable escaping viaescape), math, labels, references, citations, advanced images, and multi-blocks.
Both renderers walk the AST by recursively calling
context.render() on child nodes, allowing standard
commonmark-java nodes to be handled by the core renderer while custom
nodes are intercepted and processed by these renderers.
- See Also:
-
Classes