Support numbered headings

A toggle for enabling automatic enumeration for headings would be great. A good example for this is Postgres docs. Not only this helps avoid doom-scrolling on long documents, it makes communication within a team easier too.