Skip to content

Instantly share code, notes, and snippets.

@akaron
akaron / slides.md
Last active October 2, 2015 21:40 — forked from aaronwolen/slides.md

% Title % Name % Date

My first slide

write markdown, use pandoc to convert to reveal.js slides.

@akaron
akaron / markdown-folding.vim
Created July 25, 2016 10:39 — forked from anonymous/markdown-folding.vim
A simple demo of how a foldexpr works in Vim. See http://vimcasts.org/e/28 for full explanation.
function! MarkdownFolds()
let thisline = getline(v:lnum)
if match(thisline, '^##') >= 0
return ">2"
elseif match(thisline, '^#') >= 0
return ">1"
else
return "="
endif
endfunction