Let's say you use a local editor like Obsidian or Typora to take notes on a daily basis and save them all on your local file system. One day, you want to build a blog to share these notes, but too lazy to generate an outline for them. Well, this script is for you.
Suppose your notes are organized like this:
notes
├── 2021
│ ├── document_1.md