General cleanup: reorganising snippets, tidying if statements, documenting functions
This commit is contained in:
parent
18c64c71c4
commit
4aa4de17f5
30 changed files with 128 additions and 99 deletions
4
snippets/html-mode/ficlink
Normal file
4
snippets/html-mode/ficlink
Normal file
|
@ -0,0 +1,4 @@
|
|||
# name: fanfiction-link
|
||||
# key: ficlink
|
||||
# --
|
||||
<a href="$1">$2</a>$0 <code>$3</code>
|
10
snippets/html-mode/sumdet
Normal file
10
snippets/html-mode/sumdet
Normal file
|
@ -0,0 +1,10 @@
|
|||
# name: summary-details
|
||||
# key: sumdet
|
||||
# --
|
||||
<details><summary>$1</summary>
|
||||
|
||||
$2
|
||||
|
||||
</details>
|
||||
|
||||
$0
|
|
@ -78,7 +78,7 @@ urlseen={Accessed},
|
|||
}
|
||||
|
||||
\bibliography{`(with-temp-buffer
|
||||
(insert-file-contents "~/Documents/drive/org/bibpath")
|
||||
(insert-file-contents "~/Documents/drive/admin/emacs/bibpath")
|
||||
(buffer-string))`}
|
||||
|
||||
$0
|
|
@ -1,4 +0,0 @@
|
|||
# name: ao3-user
|
||||
# key: ao3user
|
||||
# --
|
||||
@@html:<user name="$1" site="ao3">@@$0
|
|
@ -1,10 +0,0 @@
|
|||
# name: html-head
|
||||
# key: hhead
|
||||
# --
|
||||
#+HTML_HEAD: <link rel="stylesheet" type="text/css" href="`(expand-file-name "~/.emacs.d/export.css")`" />
|
||||
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="https://fonts.googleapis.com/css?family=Fredoka+One|Raleway:400,400i,800|Share+Tech+Mono" />
|
||||
#+INFOJS_OPT: view:showall toc:nil ltoc:nil
|
||||
#+OPTIONS: num:nil
|
||||
#+TITLE: $1
|
||||
|
||||
$0
|
4
snippets/org-mode/siteuser
Normal file
4
snippets/org-mode/siteuser
Normal file
|
@ -0,0 +1,4 @@
|
|||
# name: site-user
|
||||
# key: siteuser
|
||||
# --
|
||||
@@html:<user name="$1" site="$2">@@$0
|
Loading…
Add table
Add a link
Reference in a new issue