diff --git a/Haunted.md b/Haunted.md new file mode 100644 index 0000000..fee9ff9 --- /dev/null +++ b/Haunted.md @@ -0,0 +1,25 @@ +# Foam Note Templates + +Foam includes note templates! +This allows you to easily create notes that have similar structure without having to use copy/paste :) + +Templates support the [VS Code's Snippet Syntax](https://code.visualstudio.com/docs/editor/userdefinedsnippets#_snippet-syntax), which means you can: +- add variables to the newly created note +- add tabstop to automatically navigate to the key parts of the note, just like a form +Below you can see an example showing a todo list and a timestamp. + +## Todo List + +1. First tabstop +2. A second tabstop +3. A third tabstop + +Note Created: 2024-08-29 + +--- + +Try out the above example by running the `Foam: Create New Note From Template` command and selecting the `your-first-template` template. Notice what happens when your new note is created! + +To remove this template, simply delete the `.foam/templates/your-first-template.md` file. + +Enjoy! diff --git a/todo.md b/todo.md index 44d861f..7db80b8 100644 --- a/todo.md +++ b/todo.md @@ -5,9 +5,12 @@ - [ ] Walk of Corrosion - [ ] [[We're Alive]] - [ ] [[Super Suits]] +- [ ] [[Haunted]] +- [ ] Sanctuary [//begin]: # "Autogenerated link references for markdown compatibility" [We're Alive]: "We're Alive" [Super Suits]: "Super Suits" +[Haunted]: Haunted.md "Foam Note Templates" [//end]: # "Autogenerated link references"