Skip to content

Commit

Permalink
🔄 synced local '.vscode/json.code-snippets' with remote '.vscode/json…
Browse files Browse the repository at this point in the history
….code-snippets'
  • Loading branch information
lwjohnst86 committed Jun 28, 2024
1 parent 6e9d7c8 commit ffe8abd
Showing 1 changed file with 135 additions and 158 deletions.
293 changes: 135 additions & 158 deletions .vscode/json.code-snippets
Original file line number Diff line number Diff line change
@@ -1,160 +1,137 @@
{
// Place your snippets for Quarto here.
// Each snippet is defined under a snippet name and has a prefix, body and description.
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
// Possible variables are:
//
// - $1 and $2 for tab stops,
// - $0 for the final cursor position, and
// - ${1:label}, ${2:another} for placeholders
//
// Placeholders with the same ids are connected.
//
// How to use the code snippets:
// After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when
// you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet.

"Insert TODO formatting": {
"scope": "quarto,markdown",
"prefix": "TODO",
"body": [
"<!-- TODO: ${0:Write text here} -->"
],
"description": "Insert TODO formatting"
}

"Insert bash formatted text": {
"scope": "quarto,markdown",
"prefix": "bash",
"body": [
"``` bash"
"${0:Write text here}"
"```"
],
"description": "Insert bash formatted text"
}

"Insert YAML header for blogs": {
"scope": "quarto,markdown",
"prefix": "post_yaml",
"body": [
"---"
"title: \"\""
"description: \"Our reasons for ...\""
"author: \"\""
"date: last-modified"
"categories:"
" ${0:Type 'category_keywords' to insert categories}"
"---"
],
"description": "Insert YAML header for Quarto blog posts."
}

"Insert a hidden comment section": {
"scope": "quarto,markdown",
"prefix": "hidden",
"body": [
"::: content-hidden"
"${0:Write comments here}"
":::"
],
"description": "Insert a hidden content section"
}

"Insert a 2 col table": {
"scope": "quarto,markdown",
"prefix": "tbl2",
"body": [
"|${1:title} |${0:title} |",
"| --- | --- |",
"| | |"
],
"description": "Insert a 2 col table"
}

"Insert a 3 col table": {
"scope": "quarto,markdown",
"prefix": "tbl3",
"body": [
"|${1:title} |${2:title} |${0:title} |",
"| --- | --- | --- |",
"| | | |"
],
"description": "Insert a 3 col table"
}

"Insert video": {
"scope": "quarto,markdown",
"prefix": "video",
"body": [
"{{< video ${0:Insert link here} >}}"
],
"description": "Insert video that will be shown"
}

"Insert paneltab": {
"scope": "quarto,markdown",
"prefix": "paneltab",
"body": [
::: panel-tabset
### ${0:Header}

${1:Text body}

### ${2:Header}

${3:Text body}
:::
],
"description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers."
}

// All our key words are included in this code snippet
// The idea is that we can insert this section and then delete the words we aren't interested in
// If words are missing then they can be added to the document, and then also added to the code snippet
// Much the same way that words can be added to the spell-check extension.
"Insert list of category words": {
"scope": "quarto,markdown,yaml",
"prefix": "category_keywords",
"body": [
"- api"
"- backend"
"- blogs"
"- code snippets"
"- communication"
"- container"
"- contributing"
"- copyright"
"- culture"
"- database"
"- development"
"- documentation"
"- frontend"
"- github"
"- implementation"
"- installation"
"- licensing"
"- management"
"- markdown"
"- organization"
"- programming"
"- repositories"
"- reviewing"
"- software"
"- software architecture"
"- standardisation"
"- structure"
"- team work"
"- teamworking"
"- technology"
"- templates"
"- tools"
"- vs code"
"- web"
"- website"
"- workflow"
"- writing"
],
"description": "Insert list of category words"
}
// Place your snippets for Quarto here.
// Each snippet is defined under a snippet name and has a prefix, body and description.
// The prefix is what is used to trigger the snippet and the body will be expanded and inserted.
// Possible variables are:
//
// - $1 and $2 for tab stops,
// - $0 for the final cursor position, and
// - ${1:label}, ${2:another} for placeholders
//
// Placeholders with the same ids are connected.
//
// How to use the code snippets:
// After you have set the above settings, a suggestion for one of the code snippets below will pop up automatically, when
// you start writing the prefix. Press "Enter" or "Tab" to insert the code snippet.
"Insert TODO formatting": {
"scope": "quarto,markdown",
"prefix": "TODO",
"body": [
"<!-- TODO: ${0:Write text here} -->"
],
"description": "Insert TODO formatting"
},
"Insert bash formatted text": {
"scope": "quarto,markdown",
"prefix": "bash",
"body": [
"``` bash",
"${0:Write text here}",
"```"
],
"description": "Insert bash formatted text"
},
"Insert YAML header for blogs": {
"scope": "quarto,markdown",
"prefix": "post_yaml",
"body": [
"---",
"title: \"\"",
"description: \"Our reasons for ...\"",
"author: \"\"",
"date: last-modified",
"categories:",
" ${0:Type 'category_keywords' to insert categories}",
"---"
],
"description": "Insert YAML header for Quarto blog posts."
},
"Insert a hidden comment section": {
"scope": "quarto,markdown",
"prefix": "hidden",
"body": [
"::: content-hidden",
"${0:Write comments here}",
":::"
],
"description": "Insert a hidden content section"
},
"Insert a 2 col table": {
"scope": "quarto,markdown",
"prefix": "tbl2",
"body": [
"|${1:title} |${0:title} |",
"| --- | --- |",
"| | |"
],
"description": "Insert a 2 col table"
},
"Insert a 3 col table": {
"scope": "quarto,markdown",
"prefix": "tbl3",
"body": [
"|${1:title} |${2:title} |${0:title} |",
"| --- | --- | --- |",
"| | | |"
],
"description": "Insert a 3 col table"
},
"Insert video": {
"scope": "quarto,markdown",
"prefix": "video",
"body": [
"{{< video ${0:Insert link here} >}}"
],
"description": "Insert video that will be shown"
},
"Insert paneltab": {
"scope": "quarto,markdown",
"prefix": "paneltab",
"body": [
"::: panel-tabset",
"### ${0:Header}",
"",
"${1:Text body}",
"",
"### ${2:Header}",
"",
"${3:Text body}",
":::"
],
"description": "Insert paneltab (including two tabs here). If you want additional tabs, just include more headers."
},
// All our category words are included in this code snippet
// The idea is that we can insert this section and then delete the words we aren't interested in
// If words are missing then they can be added to the document, and then also added to the code snippet
// Much the same way that words can be added to the spell-check extension.
"Insert list of category words": {
"scope": "quarto,markdown,yaml",
"prefix": "decision_categories",
"body": [
"- backend",
"- code snippets",
"- communicate",
"- container",
"- contribute",
"- collaborate",
"- database",
"- deploy",
"- dependencies",
"- develop",
"- document",
"- front end",
"- framework",
"- git",
"- install",
"- license",
"- manage",
"- organize",
"- standardise",
"- style",
"- web",
"- workflow",
"- write"
],
"description": "Insert list of category words"
}
}

0 comments on commit ffe8abd

Please sign in to comment.