parent
ea9cbe39ff
commit
56628f8406
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
foam_template:
|
||||||
|
name: Bullet Daily Log
|
||||||
|
description: Daily Log for Bullet Journal
|
||||||
|
filepath: 'bullet/daily/${FOAM_DATE_YEAR}-${FOAM_DATE_MONTH}-${FOAM_DATE_DATE}-$FOAM_TITLE.md'
|
||||||
|
type: bullet-daily-log
|
||||||
|
|
||||||
|
---
|
||||||
|
# ${FOAM_DATE_YEAR}-${FOAM_DATE_MONTH}-${FOAM_DATE_DATE} $FOAM_TITLE.md
|
||||||
|
|
||||||
|
* [ ] Migrate from (previous daily log)
|
||||||
|
* [ ] -- new log items --
|
||||||
|
|
||||||
|
## Further Notes
|
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
foam_template:
|
||||||
|
name: Daily Note
|
||||||
|
description: Default Daily Note
|
||||||
|
filepath: 'journal/${FOAM_DATE_YEAR}-${FOAM_DATE_MONTH}-${FOAM_DATE_DATE}.md'
|
||||||
|
type: bullet-daily-log
|
||||||
|
|
||||||
|
---
|
||||||
|
# ${FOAM_DATE_YEAR}-${FOAM_DATE_MONTH}-${FOAM_DATE_DATE}.md
|
||||||
|
|
||||||
|
* [ ] Migrate from (previous daily log)
|
||||||
|
* [ ] -- new log items --
|
||||||
|
|
||||||
|
## Further Notes
|
|
@ -0,0 +1,25 @@
|
||||||
|
---
|
||||||
|
foam_template:
|
||||||
|
name: zzz-Default Template
|
||||||
|
description: Default Template (do not use)
|
||||||
|
filepath: 'default-template/$FOAM_TITLE.md'
|
||||||
|
type: default-template
|
||||||
|
---
|
||||||
|
|
||||||
|
# ${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
|
Loading…
Reference in New Issue