Importing - eevdriet/obsidian-anki GitHub Wiki
Settings
General
These settings set some general properties of the rule and the notes it imports. Note the following:
- When the
Note type
is reset, some other settings that depend on it (such as theFormat
) are reevaluated - The
Query
determines which notes of the given note type are imported. See the Anki documentation on the type of queries that can be created.
Template
The Template
sets the way the note is formatted when it is imported into Anki.
See Templates for finding out which formatting options can be used.
Tags
Existing notes
This setting controls what happens with existing notes when a newer version is imported from Anki. The following behaviors can be used:
Ignore
notes that are already imported and do not import againUpdate
existing notes by replacing the content with the most recent versionAppend
by importing the most recent version and keeping the old version(s)
The picture below illustrates how notes are re-imported under each behavior:
In the example, Note 1 has already been imported before. On re-importing, Note 1 has been changed and Note 2 and Note 3 are also imported.
Destination
When the notes are imported, these settings determine which file(s) the notes are imported to. Two strategies exist for choosing the destination:
File
imports all notes in the same fileFolder
imports all notes in the same folder and each note into its own file
The user can also set a Insert after
format.
If enabled, all notes are placed after the format within the file they are imported to.
The notes are placed at the bottom of the file if the format is not found.
File
- With
File
you can set which file is used to import the notes into. If the file does not exist yet, Obsidian will create the file before importing.
Folder
- With
Folder
you can set which folder is used to import the notes into. If the folder does not exist yet, Obsidian will create the file before importing. File name format
determines the file that is used for each note that is imported. To ensure the file name is unique, the format needs to include at least one replacement pattern. If the resulting file does not exist yet, Obsidian will create the file before importing.