"""Shared Markdown rendering primitives."""

from __future__ import annotations

from ._ir import MarkdownCaption, MarkdownFigure, MarkdownFormula, MarkdownList, MarkdownTable
from .captions import render_caption
from .figures import add_figure_once, render_figure, render_figure_block
from .formulas import render_formula
from .lists import render_list
from .tables import add_table_once, render_table, render_table_block

__all__ = [
    "MarkdownCaption",
    "MarkdownFigure",
    "MarkdownFormula",
    "MarkdownList",
    "MarkdownTable",
    "add_figure_once",
    "add_table_once",
    "render_caption",
    "render_figure",
    "render_figure_block",
    "render_formula",
    "render_list",
    "render_table",
    "render_table_block",
]
