Without a plugin… on the main note:
- Make sure note has a title (# title)
- after the title, add a list that has the note’s headings (maybe they even link down to the actual headings)
- after the list of headings add another header with note content beneath
With this structure, you can embed that heading from the note and it will show the title and the list of headings. (![[Note name#heading]])