I just noticed (from my projects tests) that Quarto no longer writes out the header numbers into the documents that become the inputs to custom filters.

Checking with an old version of Quarto (v0.2.183), I see this in the input JSON for one document with a heading:

```
                {
                  "t": "Span",
                  "c": [
                    [
                      "",
                      [
                        "header-section-number"
                      ],
                      []
                    ],
                    [
                      {
                        "t": "Str",
                        "c": "2.1"
                      }
                    ]
                  ]
                },
```

but - this content is missing from the output of current Quarto, though I see the heading number does reach the output HTML.

The heading number was useful, because we are using Pandoc filters to write out notebook versions of the pages, and it's convenient to have the heading numbers in the notebook, so the reader can cross-reference with the web or PDF document.

Is there any way of getting the heading numbers now?  How do they reach the final document?
2021-11-23T19:27:04Z
matthew-brett
closed
Header numbering no longer in output from quarto filters
https://github.com/quarto-dev/quarto-cli/issues/200