84 lines
1.5 KiB
Text
84 lines
1.5 KiB
Text
snippet note "Note Front Matter" b
|
|
---
|
|
title: "${1:Title}"
|
|
author: "${2:Max Bucknell}"
|
|
date: "${3:`date "+%A, %e, %B %Y"`}"
|
|
format:
|
|
html:
|
|
embed-resources: true
|
|
html-math-method: katex
|
|
mainfont: Lato
|
|
monofont: Input
|
|
theme:
|
|
light: flatly
|
|
dark: darkly
|
|
pdf:
|
|
documentclass: article
|
|
mainfont: Lato
|
|
monofont: Input
|
|
geometry:
|
|
- top=30mm
|
|
- left=20mm
|
|
- heightrounded
|
|
number-sections: true
|
|
---
|
|
|
|
# $1
|
|
|
|
$0
|
|
endsnippet
|
|
|
|
snippet :::n "Callout: Note" b
|
|
::: {.callout-note}
|
|
${0:${VISUAL:text...}}
|
|
:::
|
|
endsnippet
|
|
|
|
snippet :::t "Callout: Tip" b
|
|
::: {.callout-tip}
|
|
${0:${VISUAL:text...}}
|
|
:::
|
|
endsnippet
|
|
|
|
snippet :::w "Callout: Warning" b
|
|
::: {.callout-warning}
|
|
${0:${VISUAL:text...}}
|
|
:::
|
|
endsnippet
|
|
|
|
snippet :::i "Callout: Important" b
|
|
::: {.callout-important}
|
|
${0:${VISUAL:text...}}
|
|
:::
|
|
endsnippet
|
|
|
|
snippet `r "R Code Block" b
|
|
\`\`\`{r}
|
|
${1:#| output: ${2:false}}
|
|
${0:${VISUAL:# code...}}
|
|
\`\`\`
|
|
endsnippet
|
|
|
|
snippet `py "Python Code Block" b
|
|
\`\`\`{python}
|
|
${1:#| output: ${2:false}}
|
|
${0:${VISUAL:# code...}}
|
|
\`\`\`
|
|
endsnippet
|
|
|
|
snippet `ju "Julia Code Block" b
|
|
\`\`\`{julia}
|
|
${1:#| output: ${2:false}}
|
|
${0:${VISUAL:# code...}}
|
|
\`\`\`
|
|
endsnippet
|
|
|
|
snippet todo "Make a To-Do List!" b
|
|
- [ ] ${0:What would you like to do..?}
|
|
endsnippet
|
|
|
|
snippet --- "Horizontal Rule" b
|
|
--------------------------------------------------------------------------------
|
|
|
|
$0
|
|
endsnippet
|