rst2typst
  • "atsphinx" project
/

Contents:

  • Getting started
  • Command line tools
  • Spec of translator
    • Admonitions
    • Block quotes
    • Code
    • Contents
    • Contents
    • Footnotes
    • Math
    • Raw
  • Roadmap
  • Contributing guide

Reference:

  • API reference
    • rst2typst package
      • rst2typst.cli package
        • rst2typst.cli.rst2typst module
        • rst2typst.cli.rst2typstpdf module
      • rst2typst.frontend module
      • rst2typst.nodes module
      • rst2typst.pdf module
      • rst2typst.transforms module
      • rst2typst.writer module
  1. rst2typst /
  2. Spec of translator

Spec of translator¶

TypstTranslator is a core class for convert from DocTree to Typst code. These are list of translate specs that what convert from each docutils’ nodes.

Note

These are not all spec for nodes of docutils yet. Currently, please see e2e test directory to know all behaviors of translator.

List of translate specs:

  • Admonitions
  • Block quotes
  • Code
  • Contents
  • Contents
  • Footnotes
  • Math
  • Raw
Previous
Command line tools
Next
Admonitions

2026, Kazuya Takei

Made with Sphinx and Shibuya theme.