nb icon indicating copy to clipboard operation
nb copied to clipboard

base note suggestion

Open lesterzone opened this issue 3 years ago • 4 comments

First, this tool is Incredible useful!

THIS IS JUST A SUGGESTION based on my current use of a tool like this

I have my own subset of this built in go since I couldn't find something that uses text as storage and simple to use with the terminal. So, this is an awesome tool that covers almost everything I use.

Something I find myself doing is to create a note from a base note. Example: bot init will create a md file with current day, it will be like: 10-08-2020.md and the content of this file will be based on a template I have for all 'notes' with a defined content.

a simple example of my base note ( base.md ):

--tags

# title

# context

# links

Suggestion:

  • allow nb to define a base template so notes are using it when we add a new one without a content. like when we do nb add

Feel free to close this if this doesn't sound like something useful since we already have a work around ( cat base.md | nb add )

Thank you.

lesterzone avatar Oct 09 '20 00:10 lesterzone

Sounds interesting! I'll think about how this can be implemented...

xwmx avatar Oct 13 '20 18:10 xwmx

yessssss, i agree, I'd love to have the ability to define skeletons/templates/etc for notes (i know this is a go app, but it has the ability to define various types of template files per notebook -- https://github.com/mickael-menu/zk)

megalithic avatar Oct 14 '22 18:10 megalithic

I strongly support this idea!

GrazingScientist avatar Jun 01 '23 05:06 GrazingScientist

:+1:

rvdwijngaard avatar Sep 05 '23 07:09 rvdwijngaard