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 2aec1a61ec8bf86b79d05bf3bbec05e77abe6279
parent b2225f764f75075f1ba68e4895368dfffaea6adf
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 14 Jun 2018 09:08:56 -0400

Update reveal.js snippets with slide, markdownslide, and code

Diffstat:
Mlinks/.vim/UltiSnips/html.snippets | 19++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)

diff --git a/links/.vim/UltiSnips/html.snippets b/links/.vim/UltiSnips/html.snippets @@ -1,4 +1,15 @@ -snippet slide "Insert a slide with Markdown formatting" +snippet slide "Insert a reveal.js slide with html formatting" +<section data-markdown> + <textarea data-template> + <h2>$1</h2> + + $0 + + </textarea> +</section> +endsnippet + +snippet markdownslide "Insert a reveal.js slide with Markdown formatting" <section data-markdown> <textarea data-template> ## $1 @@ -8,3 +19,9 @@ snippet slide "Insert a slide with Markdown formatting" </textarea> </section> endsnippet + +snippet code "Insert a code block in HTML syntax" +<pre><code data-trim data-noescape> +$1 +</code></pre> +endsnippet