dotfiles

My personal shell configs and stuff
git clone git://git.alex.balgavy.eu/dotfiles.git
Log | Files | Refs | Submodules | README | LICENSE

markdown.snippets (1220B)


      1 snippet draft "New draft" b
      2 ---
      3 layout: post
      4 title: "${1:Title}"
      5 author: zeroalpha
      6 categories: ${2:Categories}
      7 ---
      8 
      9 $0
     10 endsnippet
     11 
     12 snippet post "New draft" b
     13 ---
     14 layout: post
     15 title: "${1:Title}"
     16 author: zeroalpha
     17 categories: ${2:Categories}
     18 date: ${2:YYYY}-${3:MM}-${4:DD}
     19 ---
     20 
     21 $0
     22 endsnippet
     23 
     24 snippet video "MP4 Video" b
     25 <video width="100%" style="margin-bottom: 1em;" autoplay controls loop playsinline muted>
     26     <source type="video/mp4" src="/video/${1:filename}.mp4" />
     27     <p>${2:alt text}</p>
     28 </video>
     29 $0
     30 endsnippet
     31 
     32 snippet `py "Python fenced block" b
     33 
     34 \`\`\`python
     35 $1
     36 \`\`\`
     37 
     38 $0
     39 endsnippet
     40 
     41 snippet `bash "Bash fenced block" b
     42 \`\`\`bash
     43 $1
     44 \`\`\`
     45 
     46 $0
     47 endsnippet
     48 
     49 snippet format "Pandoc format" b
     50 ---
     51 title: '${1:title of document}'
     52 subtitle: '${2:subtitle}'
     53 author:
     54 - ${3:author 1}
     55 - ${4:author 2}
     56 fontsize: 10pt
     57 pagestyle: empty
     58 bibliography: ${3:references.bib}
     59 citation-style: https://raw.githubusercontent.com/citation-style-language/styles/master/ieee.csl
     60 link-citations: true
     61 geometry:
     62 - a4paper
     63 - left=${4:1in}
     64 - right=${4:1in}
     65 - top=${4:1in}
     66 - bottom=${4:1in}
     67 # For image placement
     68 header-includes:
     69  \usepackage{float}
     70  \floatplacement{figure}{H}
     71 ---
     72 \maketitle
     73 
     74 # References
     75 ::: {#refs}
     76 :::
     77 endsnippet