1- You can use the Outline Core plugin which will create an outline/TOC-style pane of the current note’s headings. It won’t be appearing in the note itself though. There is a TOC community plugin but it only generates one-time and doesn’t auto-update like the Outline plugin.
2- using [[## will bring up all headings in the vault