mirror of
https://github.com/foambubble/foam-template.git
synced 2025-06-07 20:08:54 +00:00
1,002 B
1,002 B
Adding Custom Snippets
You can add custom snippets whilst the default set of snippets are decided by following the below steps:
Cmd
+Shift
+P
(Ctrl
+Shift
+P
for Windows), typesnippets
and selectPreferences: Configure User Snippets
.- The command palette will remain in focus. Search for
markdown
and select the entry entitledmarkdown.json (Markdown)
. - A JSON file will open. You can author your own snippets using the documentation to help you, or if you're using a snippet shared by another Foam user then you can copy and paste it in, as the below GIF demonstrates:
To get started, you might consider replacing the entire contents of the markdown.json
file opened by the steps above with the JSON in this comment.