ENH: (Styler|DataFrame).to_typst() (original) (raw)

Feature Type

Problem Description

typst is a new markup language for scientific documents https://github.com/typst/typst. i think of it as latex for the 21 century.

Feature Description

i've used (df|styler).to_latex many times and would find an equivalent (df|styler).to_typst equally useful now that i've transitioned to Typst.

Alternative Solutions

export to JSON/CSV and use Typst native JSON/CSV import feature and generate table in Typst rather than in pandas. drawback: looses styling and all customization options available with Styler

Additional Context

No response