Open meldarionqeusse opened 3 years ago
Yup, this is expected because the text of form {{ something }}
is considered as variable by this plugin. But I'll explore if there's a way to allow users to use these braces as normal text.
Hello, I ran into the same issue and found two possible workarounds. Here they are in case someone can find this useful.
text
with template custom variablenote_text: dropdown({{title}} ({{created_time}}))
listview:
text: "{{note_text}}"
note-overview-plugin
as template custom variablenote_overview: dropdown(note-overview-plugin)
<!-- {{note_overview}}
instead of the standard <!-- note-overview-plugin
{{}}
in the note-overview section using \{{}}
:
listview:
text: "\{{title}} (\{{created_time}})"
handlebars
doc regarding escaping: https://handlebarsjs.com/guide/expressions.html#escaping-handlebars-expressions\{{}}
is used without the note_overview
custom variable trick, then an error is thrown when the note-overview plugin tries to run on the template note
I tried creating a template which has a note overview (from note overview plugin) to get summary of tasks I have not completed. If you look at the code below the noteview in the template has {{notebook}} {{title}}, {{tags}} etc these get removed when I create note from template
This is the template:
This is how it transforms when I create a note from template