From d15771c6fc04423df3b8716ed4a39f53b4bcc3a0 Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Thu, 16 Nov 2023 12:13:54 +0800 Subject: [PATCH] add filename section to the obsidian plugin doc --- docs/integrations/obsidian.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/integrations/obsidian.md b/docs/integrations/obsidian.md index 5790acea..41c31c2d 100644 --- a/docs/integrations/obsidian.md +++ b/docs/integrations/obsidian.md @@ -250,6 +250,20 @@ date_published: {{{datePublished}}} By default, Omnivore will sync articles into separate pages in Obsidian. If you would like to sync all your articles into a single note, you can turn on the option **Is Single File** and use a fixed **Filename** in the plugin settings. +## Filename + +::: v-pre +Enter a filename for the article. You can either use a fixed filename or a template. If you use a template, the filename will be generated based on the template. For example, if you enter `{{{ title }}}`, the filename will be the title of the article. +::: + +Available variables for the template are: + +* id +* title +* author +* dateSaved +* datePublished + ## Scheduled Sync By default, Omnivore does not automatically sync your data. You can enable scheduled sync by entering a number of minutes in the **Frequency** setting. For example, if you enter `60`, Omnivore will sync your data every hour and you can always turn it off by entering `0`.