|
1 | 1 | { |
2 | | - // Place your snippets for Quarto here. |
3 | | - // Each snippet is defined under a snippet name and has a prefix, body and description. |
4 | | - // The prefix is what is used to trigger the snippet and the body will be expanded and inserted. |
5 | | - // Possible variables are: |
6 | | - // |
7 | | - // - $1 and $2 for tab stops, |
8 | | - // - $0 for the final cursor position, and |
9 | | - // - ${1:label}, ${2:another} for placeholders |
10 | | - // |
11 | | - // Placeholders with the same ids are connected. |
12 | | - // |
13 | | - // How to use the code snippets: |
14 | | - // After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when |
15 | | - // you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet. |
16 | 2 | "Insert TODO formatting": { |
17 | 3 | "scope": "quarto,markdown", |
18 | 4 | "prefix": "TODO", |
|
31 | 17 | ], |
32 | 18 | "description": "Insert bash formatted text" |
33 | 19 | }, |
34 | | - "Insert YAML header for blogs": { |
35 | | - "scope": "quarto,markdown", |
36 | | - "prefix": "post_yaml", |
37 | | - "body": [ |
38 | | - "---", |
39 | | - "title: \"\"", |
40 | | - "description: \"Our reasons for ...\"", |
41 | | - "author: \"\"", |
42 | | - "date: last-modified", |
43 | | - "categories:", |
44 | | - " ${0:Type 'category_keywords' to insert categories}", |
45 | | - "---" |
46 | | - ], |
47 | | - "description": "Insert YAML header for Quarto blog posts." |
48 | | - }, |
49 | 20 | "Insert a hidden comment section": { |
50 | 21 | "scope": "quarto,markdown", |
51 | 22 | "prefix": "hidden", |
|
76 | 47 | ], |
77 | 48 | "description": "Insert a 3 col table" |
78 | 49 | }, |
79 | | - "Insert video": { |
80 | | - "scope": "quarto,markdown", |
81 | | - "prefix": "video", |
82 | | - "body": [ |
83 | | - "{{< video ${0:Insert link here} >}}" |
84 | | - ], |
85 | | - "description": "Insert video that will be shown" |
86 | | - }, |
87 | 50 | "Insert paneltab": { |
88 | 51 | "scope": "quarto,markdown", |
89 | 52 | "prefix": "paneltab", |
|
99 | 62 | ":::" |
100 | 63 | ], |
101 | 64 | "description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers." |
102 | | - }, |
103 | | - // All our category words are included in this code snippet |
104 | | - // The idea is that we can insert this section and then delete the words we aren't interested in |
105 | | - // If words are missing then they can be added to the document, and then also added to the code snippet |
106 | | - // Much the same way that words can be added to the spell-check extension. |
107 | | - "Insert list of category words": { |
108 | | - "scope": "quarto,markdown,yaml", |
109 | | - "prefix": "decision_categories", |
110 | | - "body": [ |
111 | | - "- backend", |
112 | | - "- code snippets", |
113 | | - "- communicate", |
114 | | - "- container", |
115 | | - "- contribute", |
116 | | - "- collaborate", |
117 | | - "- database", |
118 | | - "- deploy", |
119 | | - "- dependencies", |
120 | | - "- develop", |
121 | | - "- document", |
122 | | - "- front end", |
123 | | - "- framework", |
124 | | - "- git", |
125 | | - "- install", |
126 | | - "- license", |
127 | | - "- manage", |
128 | | - "- organise", |
129 | | - "- standardise", |
130 | | - "- style", |
131 | | - "- web", |
132 | | - "- workflow", |
133 | | - "- write" |
134 | | - ], |
135 | | - "description": "Insert list of category words" |
136 | 65 | } |
137 | 66 | } |
0 commit comments