Open keul opened 8 years ago
If the .rst file contains the standad .. contents:: directive, the TOC is not shipped inside the preview. I'm not a pandoc expert, but seems this is possibile by adding the --toc parameter on invocation:
.. contents::
--toc
pandoc -s --toc README.rst -o README.html
Can this be fixed someway in the preview plugin?
If the .rst file contains the standad
.. contents::
directive, the TOC is not shipped inside the preview. I'm not a pandoc expert, but seems this is possibile by adding the--toc
parameter on invocation:Can this be fixed someway in the preview plugin?