atom-rst-preview icon indicating copy to clipboard operation
atom-rst-preview copied to clipboard

The table fo contents is not included in the preview

Open keul opened this issue 10 years ago • 0 comments

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:

pandoc -s --toc README.rst -o README.html

Can this be fixed someway in the preview plugin?

keul avatar Nov 22 '15 12:11 keul