Add inlinejs and mintjs snippets

This commit is contained in:
Adam Goldsmith 2019-03-02 13:50:54 -05:00
parent e36aee62d7
commit bb2cb7fe58
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,5 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: inlinejs
# key: ijs
# --
\mintinline{js}{$0}

View File

@ -0,0 +1,10 @@
# -*- mode: snippet; require-final-newline: nil -*-
# name: mintjs
# key: mintjs
# --
\begin{listing}[htbp]
\begin{minted}{js}
$0
\end{minted}
\caption{$1}\label{lst:$2}
\end{listing}