I'm thinking something close to the design of MdBook, that allows for configuring the preprocessor and the postprocessor from a dedicated config file. Maybe we can allow for a semi-scriptable config file that allows how and what NDG processes.
Also allow:
- Enable generating search data, but not the search page or the widget (maybe options under [search])`
- Per-page templating
- Disabling page conversion
- Safe/unsafe HTML
- Numbering sidebar lists with a logic close to Typst's title numbering