From 311e967198f78f5724e09995071c0bc4484cfb81 Mon Sep 17 00:00:00 2001 From: Ralf Koop Date: Fri, 10 Nov 2023 15:21:04 +0000 Subject: [PATCH] Delete new-template.md --- .foam/templates/new-template.md | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100644 .foam/templates/new-template.md diff --git a/.foam/templates/new-template.md b/.foam/templates/new-template.md deleted file mode 100644 index 78bc3f2..0000000 --- a/.foam/templates/new-template.md +++ /dev/null @@ -1,17 +0,0 @@ -# ${1:$TM_FILENAME_BASE} - -Welcome to Foam templates. - -What you see in the heading is a placeholder -- it allows you to quickly move through positions of the new note by pressing TAB, e.g. to easily fill fields -- a placeholder optionally has a default value, which can be some text or, as in this case, a [variable](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_variables) - - when landing on a placeholder, the default value is already selected so you can easily replace it -- a placeholder can define a list of values, e.g.: ${2|one,two,three|} -- you can use variables even outside of placeholders, here is today's date: ${CURRENT_YEAR}/${CURRENT_MONTH}/${CURRENT_DATE} - -For a full list of features see [the VS Code snippets page](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax). - -## To get started - -1. edit this file to create the shape new notes from this template will look like -2. create a note from this template by running the `Foam: Create New Note From Template` command