ondratu / formiko

reStructuredText editor and live previewer
Other
121 stars 9 forks source link

Enhancement: support for sphinx templates and directives #47

Open rob-vh opened 5 months ago

rob-vh commented 5 months ago

When I open a sphinx file, with their default index.rst:

.. toctree::
   :maxdepth: 2
   :caption: Contents:

Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`

I get Unknown directive type "toctree"

Totally understandable, but would it be possible to support these directives?