```
% pandoc -f rst -t native
.. toctree::
   :name: tree1
   :class: foo bar
   :caption: Indice dei contenuti
   :numbered:
   :maxdepth: 3

   premessa.rst
   acquisizione-software.rst
   riuso-software.rst
^D
[Div ("tree1",["toctree","foo","bar"],[("caption","Indice dei contenuti"),("numbered",""),("maxdepth","3")])
 [Para [Str "premessa.rst",SoftBreak,Str "acquisizione-software.rst",SoftBreak,Str "riuso-software.rst"]]]
 ```