Add html org snippet, remove trailing newline from snippets

This commit is contained in:
Riyyi
2020-08-06 02:50:57 +02:00
parent e2535d37eb
commit f9d57781d5
16 changed files with 21 additions and 16 deletions
+1 -1
View File
@@ -5,4 +5,4 @@
${1:Name}::$1(${2:args}) ${3: : ${4:init}}
{
$0
}
}
+1 -1
View File
@@ -5,4 +5,4 @@
${1:Name}::~$1()
{
$0
}
}
@@ -5,4 +5,4 @@
${1:type} ${2:name}(${3:args})${4: const}
{
$0
}
}
+1 -1
View File
@@ -7,4 +7,4 @@
$0
#endif // ${1:$(yas-c++-class-name yas-text)}_H
#endif // ${1:$(yas-c++-class-name yas-text)}_H
+1 -1
View File
@@ -2,4 +2,4 @@
# name: include
# key: i
# --
#include $0
#include $0
+1 -1
View File
@@ -6,4 +6,4 @@ namespace ${1:Namespace} {
$0
}
}
+1 -1
View File
@@ -2,4 +2,4 @@
# name: separator
# key: spr
# --
// -----------------------------------------$0
// -----------------------------------------$0
+1 -1
View File
@@ -2,4 +2,4 @@
# name: mode
# key: <mode
# --
# -*- mode: ${1:conf} -*-
# -*- mode: ${1:conf} -*-
+1 -1
View File
@@ -4,4 +4,4 @@
# --
\begin{${1:environment}}
$0
\end{$1}
\end{$1}
+1 -1
View File
@@ -2,4 +2,4 @@
# name: href
# key: h
# --
\href{${1:src}}{${2:a}}$0
\href{${1:src}}{${2:a}}$0
+1 -1
View File
@@ -2,4 +2,4 @@
# name: hyperref
# key: hy
# --
\hyperref[sec:${1:name}]{${2:a}}$0
\hyperref[sec:${1:name}]{${2:a}}$0
+1 -1
View File
@@ -2,4 +2,4 @@
# name: textit
# key: i
# --
\textit{$1}$0
\textit{$1}$0
+1 -1
View File
@@ -2,4 +2,4 @@
# name: underline
# key: u
# --
\underline{$1}$0
\underline{$1}$0
+2 -2
View File
@@ -1,7 +1,7 @@
# -*- mode: snippet -*-
# name: elisp
# name: elisp-copy
# key: <el
# --
#+BEGIN_SRC emacs-lisp
$0
#+END_SRC
#+END_SRC
+5
View File
@@ -0,0 +1,5 @@
# -*- mode: snippet -*-
# name: html
# key: <html
# --
@@html:<${1:tag}>@@$0
+1 -1
View File
@@ -4,4 +4,4 @@
# --
#+BEGIN_SRC ${1:language}
$0
#+END_SRC
#+END_SRC