DEV Community

Discussion on: πŸ”₯ How to crush amazing posts on DEV

Collapse
 
robole profile image
Rob OLeary • Edited

If you use VS Code, you check out the Marky Markdown extension, which will create a TOC in markdown for you. It has a status indicator above your TOC telling you if it is up-to-date or not as you edit your document.

Status

You can set it to update on save, so it's stays in sync with your headings always. I wrote it recently as I include TOCs in markdown documents regularly, and I don't want to be doing manual updates for this kind of thing! πŸ€―β›

Collapse
 
waylonwalker profile image
Waylon Walker

Awesome Tip!!! I will definitely be using this. I generally write in vscode, but often tweak and add liquid tags in dev.

Collapse
 
robole profile image
Rob OLeary

You're welcomeπŸ™‚ If you have any feedback or features requests, let me know! πŸ‘