nvim: fix typst chem snippets
This commit is contained in:
parent
94c8623995
commit
6ee93aa5d7
@ -26,18 +26,18 @@ snippet sfd "template for lecture notes" bi
|
|||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet chem "template for chemistry notes" bi
|
snippet chem "template for chemistry notes" bi
|
||||||
#import "/templates/chem.typ": template, lref
|
#import "/templates/chem.typ": template, lref, chem
|
||||||
#show: template.with(
|
#show: template.with(
|
||||||
title: "$1",
|
title: "$1",
|
||||||
)
|
)
|
||||||
|
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet chbl "chemistry math block" bi
|
snippet chi "chemistry math inline" w
|
||||||
#chem()[$
|
#chem()[$$1$]
|
||||||
$1
|
endsnippet
|
||||||
$]
|
snippet chbl "chemistry math block" w
|
||||||
$0
|
#chem(block: true)[$$1$]
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet contest "template for contest problems" bi
|
snippet contest "template for contest problems" bi
|
||||||
|
Loading…
Reference in New Issue
Block a user