Skip to content

Commit

Permalink
chore(vscode): add config files
Browse files Browse the repository at this point in the history
  • Loading branch information
saruman9 committed Feb 10, 2024
1 parent 39d98ee commit c9180e3
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"[typst]": {
"editor.wordWrap": "on",
"editor.semanticHighlighting.enabled": true,
"editor.autoClosingBrackets": "never",
},
"cSpell.words": [
"pdfpc"
]
}
22 changes: 22 additions & 0 deletions .vscode/slides.code-snippets
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"Print notes": {
"scope": "typst",
"prefix": "note",
"body": [
"#pdfpc.speaker-note(",
" ```md",
" $1",
" ```",
")",
]
},
"Slide horizon": {
"scope": "typst",
"prefix": "sh",
"body": [
"#slideh[$1][",
" $2",
"]",
]
}
}

0 comments on commit c9180e3

Please sign in to comment.