dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit b2225f764f75075f1ba68e4895368dfffaea6adf
parent ea56311d2ca5877970209e56bd91221611e2280a
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Wed, 13 Jun 2018 14:06:13 -0400

Add UltiSnips snippets

Diffstat:
Alinks/.vim/UltiSnips/html.snippets | 10++++++++++
Alinks/.vim/UltiSnips/markdown.snippets | 10++++++++++
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/links/.vim/UltiSnips/html.snippets b/links/.vim/UltiSnips/html.snippets @@ -0,0 +1,10 @@ +snippet slide "Insert a slide with Markdown formatting" +<section data-markdown> + <textarea data-template> + ## $1 + + $0 + + </textarea> +</section> +endsnippet diff --git a/links/.vim/UltiSnips/markdown.snippets b/links/.vim/UltiSnips/markdown.snippets @@ -0,0 +1,10 @@ +snippet fmatter "Insert yaml frontmatter for HTML" +--- +title: ${1:Title} +date: ${2:`date +%Y-%m-%d`} +tags: $3 +--- + +# $1 +$0 +endsnippet