Not a showstopper, but when I type /tem{enter} to get my templates, they appear in the order I created them. Is is possible to reorder them so that my favourite template shows first on the list?
I found a way:
- Before you start, plan the order in which you’re going to delete and re-add your templates: each time you delete and re-add a template, it will go to the bottom of your list
1a) Decide which templates you want to move down in your list
1b) Decide what order you’d like these templates in
1c) Start with the the one you want highest, and do the one you want bottom of your list last - For each template you want to move
2a) Cut it (select {ctrl x})
2b) Check it’s removed from the template list (bring your template list up using /tem{enter})
2c) Paste your template back where it was
2d) Check your template list again: it should now be at the bottom
1 Like
This doesnt work since the 0.10.3 release (for Win 10/11)
JustAnotherTill had the same question here: Sort templates alphanumerically
the latest templates are not added at the end of the list (but somewhere randomly)
Other work arounds that does not work:
- Creating a custom command in config.edn instead of a template because custom commands does not support child blocks nor multi-line blocks
- Using macros instead of templates doesn’t work for the same reason commands does not work
- Using commands to call macros doesn’t work for the above reasons
The only remaining work around that does work is pretty bad, but creating a templates.md page and editing config.edn to add :default-home {:sidebar "templates"}
is a way to have Template blocks in the order you want that you can copy to the page you are editing. This is bad because it is less convenient than using commands.
An imperfect workaround is now available in the mentioned Sort templates alphanumerically.
1 Like