How to invoke a template not using /Template command

Hi there.

I would like to invoke a template in a macro, so I need to write the code to invoke it in the values of the macro key, in the corresponding config.edn file.

Any way, is there a sintaxis, like ”{{macro_name}}" for macros, but for invoking templates?

Thanks in advance.

2 Likes

Any ideas about how can I achieve this? Thanks!

Did you ever find a solution?

I was reading the code for a while and I came to the conclusion that it is not possible to do it without modifying the code. Now, an alternative is to use macros instead.

This would probably bring in tana like features easily. I know “smart blocks plugin” exists; but something core to the app itself will be nicer.

It can combine the “form” like attributes in templates and dynamic variables leading to quick generation of similar types of notes.

1 Like