Add codeblock snippets
parent
fe5cd9f00d
commit
9ba5d6b192
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue