Automate building Index for learning
In this article I will show you how I automated writing indexes for learning with Obsidian.
I wanted to be able to quickly write Indexes for learning with Obsidian. I created a template and an automation with QuickAdd plugin.
The result looks like this:
Prerequisites
- Obsidian
- Enable community plugins
- Install and enable Quickadd plugin
The template
Create a new note with the following content (it will be the template we use).
# <% tp.file.title %>
{{VALUE:Purpose}}
{{VALUE:Tags}}
- [link]({{VALUE:Url}})
Setup with QuickAdd
- Open Obsidian Settings
- Open QuickAdd Settings ( 1️⃣ )
- Pick a name for your new action ( 2️⃣ )
- Choose “Template” mode ( 3️⃣ )
- Click on “Add Choice” ( 4️⃣ )
- Template path : name of the note previously created
- File name Format: Check
- File Name: `{{VALUE:Name}}
- Create in folder : Check
- Choose folder when creating a new note
- Folder path: Path to a folder where you wish the new note to be created
- Open : (optionally) check if you want the new note to be opened after it is created
Enable Command
By default, the action is not available among the Obsidian Commands.
We need to enable it as a command
Usually you need to restart Obsidian so it takes effect. It is now available in commands.
Using the new action
Input Name
Input Purpose
Input Tags
Input Url
It is opened automatically.