Dataview give me a list in preview mode, but I need to edit the list, so I need it in edit mode.
Thank you for your opinion. With all the functions, variables and commands in templater, I thought for sure it would have something like this, guess I was wrong.
If you want to “edit” the list, then your intent is that the list is not ‘dynamic’, i.e., the list doesn’t update automatically when you add a new file to your target folder.
In this case, you want a list in a specific moment (when created). For this you can make that list without any plugin:
In file explorer select all the files inside your target folder and “drag and drop” them in your note;
In Obsidian general search, write path:yourfolder and use the function “Copy search results” in the search menu.
Thank you for the suggestion @jwl , but this plugin auto-generates that list in one file per folder, I need to manually generate this list in multiple files.
The idea was that it will dynamically generate the files under the folder whenever I use the template, but after that yes, it doesn’t update because I need to edit it.
I didn’t know about the drag and drop part. Thank you @mnvwvnm , it’s easy enough to solve my problem.
There is an amazing plugin called “text {{expand}}” that auto generates lists of notes as links based on a search.
For example, the following snippet (with the plugin installed and activated), creates a list (IN EDIT MODE AND IN PREVIEW MODE) of note links for my notes with the tag “cognitive_bias” that are not template files with “_TP” in the file name, and are not files with “000” in the name which I use for auto-generated MoC notes.
Again, the big draw here is that the links populate in Edit Mode, unlike Dataview that only shows output in Preview Mode.