HappenApps / Quiver

Quiver documentation and issue tracker
2.26k stars 109 forks source link

[Feature Request] New note from template? #1152

Open olibclarke opened 6 years ago

olibclarke commented 6 years ago

Hi @ylian

This has been suggested before by others (#680, #1012), but I haven't seen a response and I think it would be a really useful feature.

Often I want to start a new note with a structured format - for example, a recipe, a protocol, a particular structured way of recording data about one type of experiment, etc. I need to record notes fast, while I'm working, but I would like them to be consistently formatted and to just have to enter the data when I'm working, not muck around getting the formatting right.

For this purpose, it would be really helpful to be able to define a note as a template (e.g. add a context option - "Add note to template library") and create a new note from that template (add a new item to the File menu - "New note from template" with associated keyboard shortcut, e.g. opt-cmd-N).

Activating "New note from template" would bring up a quick picker where the user can select the desired template using the keyboard.

This would also allow users to create and share sets of templates - e.g. I could share sets of useful lab notebook templates with other scientists. What do you think?

Cheers Oli

olibclarke commented 5 years ago

Any chance this could be added during the editor rewrite @ylian? Also, it would be great if notes inherited tags of the parent note when duplicated. It would also be great if variables could be inserted into the template (e.g. current_date or similar would be useful) which would be filled when a note is created from the template.