Add codeblock snippets

master
Hektor Misplon 2023-05-19 19:38:51 +02:00
parent fe5cd9f00d
commit 9ba5d6b192
1 changed files with 16 additions and 0 deletions

View File

@ -637,3 +637,19 @@ endsnippet
snippet sketch "Link a sketch" i snippet sketch "Link a sketch" i
[$1](file:///home/h/sketches/$2) [$1](file:///home/h/sketches/$2)
endsnippet endsnippet
snippet ` "Inline code" i
`$1`$2
endsnippet
snippet ``` "Code block" i
```${1:sh}
$2
```
endsnippet
snippet tex "Latex block (see latex filter)"
```{.tex}
$1
```
endsnippet