You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently tables of contents are supported in the writers (often via templates).
So there's no way for the RST parser to ensure that the output will contain a TOC.
Can the parser propagate the suggestion of where to insert the TOC? I think it's fine to ask the writer to generate it (perhaps only if the user specifies --toc) but when it does, can it insert it where the .. contents:: directive was?
Pandoc Version: pandoc 2.0.3
Input:
Output (with
pandoc -s sample.rst -o sample.html
):Expected output should be close to identical to the html output when
--toc
is used.The text was updated successfully, but these errors were encountered: