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. Comments

Comments¶

Details¶

When reStructuredText code has comments, it is not rendered on Typst code.

If you want to write comments of Typst, please use Raw.

Examples¶

Simple usage¶

This is plain text.

.. This is a comment.
This is plain text.

References¶

Docutils:

  • https://www.docutils.org/docs/ref/rst/restructuredtext.html#comments

Typst:

Previous
Code
Next
Contents

2026, Kazuya Takei

Made with Sphinx and Shibuya theme.