Page MenuHomePhabricator

Table of contents in Parsoid output
Open, MediumPublic

Description

Parsoid currently does not generate the table of contents table in its output, on the grounds that it is redundant and non-editable.

On the other hand, we need to generate this somehow for parsoid read views. Maybe a(nother) post-processing pass?

If discussion tools uses Parsoid read views for talk pages, this is probably required for that as well.

Related: T269630: Parsoid should support section editing links.