Add inlinejs and mintjs snippets
This commit is contained in:
parent
e36aee62d7
commit
bb2cb7fe58
5
.emacs.d/snippets/latex-mode/inlinejs
Normal file
5
.emacs.d/snippets/latex-mode/inlinejs
Normal file
@ -0,0 +1,5 @@
|
||||
# -*- mode: snippet; require-final-newline: nil -*-
|
||||
# name: inlinejs
|
||||
# key: ijs
|
||||
# --
|
||||
\mintinline{js}{$0}
|
10
.emacs.d/snippets/latex-mode/mintjs
Normal file
10
.emacs.d/snippets/latex-mode/mintjs
Normal 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}
|
Loading…
Reference in New Issue
Block a user