Table of contents does not appear to be a part of the parsoid output.
Is that correct?
Is this an error or is it a request?
Parsoid doesn't provide one.
Table of contents does not appear to be a part of the parsoid output.
Is that correct?
Is this an error or is it a request?
It's intentional. Implementing this has been left to consumers; https://phabricator.wikimedia.org/T51224 is the one for VisualEditor, but it's not something we're currently working on.