§
    �WêjL  ã                  óV   — d Z ddlmZ ddlmZ ddlmZ ddlmZ  G d„ de¦  «        Zd	S )
a  
MarkdownHTMLTableGenerator.py

Variant of MarkdownGenerator that renders tables as HTML (<table>) instead of
pipe-style Markdown. All other block types follow standard Markdown rules.

This format is compatible with CommonMark and is the expected input format for
benchmarks such as ParseBench, which parse <table> tags for table evaluation.

Usage
-----
    from source.layout.onnx.MarkdownHTMLTableGenerator import MarkdownHTMLTableGenerator
    gen = MarkdownHTMLTableGenerator(model)
    md  = gen.generate(page)
é    )Úannotations)ÚAnyé   )ÚHTMLGenerator)ÚMarkdownGeneratorc                  ó*   — e Zd ZdZedd„¦   «         ZdS )	ÚMarkdownHTMLTableGeneratorzñ
    Variant of MarkdownGenerator that renders tables as HTML instead of
    pipe-style Markdown. All other block types follow standard Markdown rules.

    Parameters
    ----------
    model : BoxRFDGNN instance used to run inference.
    Úcellsú	list[Any]ÚreturnÚstrc                ó*   — t          j        | ¦  «        S )N)r   Ú_render_table)r
   s    ú /Users/tedpeters/Documents/Projects/Claude Projects/TPC Houses/house-viewer/.venv/lib/python3.11/site-packages/pymupdf/layout/onnx/MarkdownHTMLTableGenerator.pyr   z(MarkdownHTMLTableGenerator._render_table#   s   € åÔ*¨5Ñ1Ô1Ð1ó    N)r
   r   r   r   )Ú__name__Ú
__module__Ú__qualname__Ú__doc__Ústaticmethodr   © r   r   r	   r	      s>   € € € € € ðð ð ð2ð 2ð 2ñ „\ð2ð 2ð 2r   r	   N)r   Ú
__future__r   Útypingr   r   r   r	   r   r   r   ú<module>r      sŽ   ððð ð  #Ð "Ð "Ð "Ð "Ð "à Ð Ð Ð Ð Ð à (Ð (Ð (Ð (Ð (Ð (Ø 0Ð 0Ð 0Ð 0Ð 0Ð 0ð2ð 2ð 2ð 2ð 2Ð!2ñ 2ô 2ð 2ð 2ð 2r   