rst2typst
  • "atsphinx" project
/

Contents:

  • Getting started
  • Command line tools
  • Spec of translator
    • Admonitions
    • Block quotes
    • Bullet lists
    • Code
    • Comments
    • Contents
    • Definition lists
    • Docinfo
    • Enumerated lists
    • Field lists
    • Footnotes
    • Hyperlinks
    • Images
    • Inline markups
    • Math
    • Option lists
    • Raw
    • Sections
    • Tables
  • 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

On this page

  • Details
  • Examples
    • Simple usage
  • References
  1. rst2typst /
  2. Spec of translator /
  3. Docinfo

Docinfo¶

Details¶

docinfo and children are same “Field lists” syntax. They are rendered as term models by #docinfo-callout function.

Examples¶

Simple usage¶

:date: 2026-02-12
:version: 0.0.0
#docinfo-callout()[
  / Date: 2026-02-12
  / Version: 0.0.0
]

References¶

Docutils:

  • https://www.docutils.org/docs/ref/rst/restructuredtext.html#toc-entry-19

  • https://www.docutils.org/docs/ref/doctree.html#docinfo

Typst:

Previous
Definition lists
Next
Enumerated lists

2026, Kazuya Takei

Made with Sphinx and Shibuya theme.