Write a script that will automatically create and/or update Contents table for all curated lists
nikitavoloboev opened this issue · 0 comments
nikitavoloboev commented
The script should:
- Make all headings with links in alphabetical order.
- If there is a
Contents
section already, it should update it referencing all the sections below in order.
- If there is no
Contents
section it should create it.
This script (program) can be run on the readme.md as a builtin hook for all PRs and commits and changes I make. This way when I make a change Hazel script will automatically update Table of contents if there is any new section added or section removed.