A template for creating an automatically updating MoC and ToC

Created a template that can be applied to create an auto-updating ToC to a file
If the file is in a folder you can also create an auto-updating MoC of that folder by creating a .md file by the same name of the folder, apply the same template

Template is available here link

Haven’t yet tested the exact plugins I use but I assume it requires
Dataview
JS Engine