Dyldog / luhman-obsidian-plugin

GNU General Public License v3.0
61 stars 18 forks source link

[FEATURE] Allow parent notes to override what template is used to generate in children. #23

Open Eforen opened 2 years ago

Eforen commented 2 years ago

Basically I am thinking some kind of meta tag or something that tells the system to use a different template then the default when making a child of specific parent.

Optionally this could be recursive.

This is similar to #13 but a little different as #13 is a glob default and can thus be implemented simpler and faster then this feature.

brannonh commented 2 years ago

This is an interesting idea. Curious what use cases you're considering and who else might want / need it.

Eforen commented 2 years ago

Useful in sistuations where storing lots of ordered data in the system.

Random example off the top of my head say your a botanist (I am not so might not be exaclty how they would do it just an example I thought of i don't personnaly have a usecase for it but I am sure I will find some when its available)

They might be reading research matirial and want a template for their books that automaticly is used when they make a zettel child of their "Book Research" note

Then in their "Field Research" note they may want another template for their plant stuff

Now I don't know what eather of these note templates would look like but yeah...

And it would be fairly simple to impliment after the templating thing is inplace so I figure why not.