I was thinking about this, and yes maybe this is possible. Instead of storing the templates in a directory, they can be stored in a separate notebook
.
The way this can be implemented is
- Register a new setting that stores the
id
of the notebook the templates are in. - If the notebook doesn't exist we create one and update the setting.
- The notes in these notebooks would represent templates.
- This way
tags
can also be added to templates.
This all can be done using Joplin Data API and settings Plugin API. What do you guys think about it?