General cleanup: reorganising snippets, tidying if statements, documenting functions

This commit is contained in:
trémeur 2023-02-16 18:36:59 +00:00
parent 18c64c71c4
commit 4aa4de17f5
30 changed files with 128 additions and 99 deletions

View file

@ -1,4 +0,0 @@
# name: ao3-user
# key: ao3user
# --
@@html:<user name="$1" site="ao3">@@$0

View file

@ -1,4 +0,0 @@
# name: chose-not-to-warn
# key: ficcntw
# --
&nbsp;<span title="$1" style="background-color:#eb7d10;color:white; font-family:serif">&nbsp;!<small>?</small>&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: explicit
# key: fice
# --
&nbsp;<span title="$1" style="background-color:#9c0000;color:white; font-family:serif">&nbsp;E&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: femslash
# key: ficfemslash
# --
&nbsp;<span title="$1" style="background-color:#d50636;color:white; font-family:serif">&nbsp;♀&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: general
# key: ficg
# --
&nbsp;<span style="background-color:#8ab60b;color:white; font-family:serif">&nbsp;G&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: gen
# key: ficgen
# --
&nbsp;<span style="background-color:#8ab60b;color:white; font-family:serif">&nbsp;☉&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: het
# key: fichet
# --
&nbsp;<span title="$1" style="background-color:#670840;color:white; font-family:serif">&nbsp;⚤&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: mature
# key: ficm
# --
&nbsp;<span title="$1" style="background-color:#eb7d10;color:white; font-family:serif">&nbsp;M&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: multi
# key: ficmulti
# --
&nbsp;<span title="$1"><span style="background:linear-gradient(0deg, rgba(160,0,24,1) 0%, rgba(160,0,24,1) 49%, rgba(171,203,0,1) 50%, rgba(171,203,0,1) 100%);">&nbsp;&nbsp;</span><span style="background: linear-gradient(0deg, rgba(0,51,148,1) 0%, rgba(0,51,148,1) 49%, rgba(129,0,108,1) 50%, rgba(129,0,108,1) 100%);">&nbsp;&nbsp;</span></span>$0

View file

@ -1,4 +0,0 @@
# name: other
# key: ficother
# --
&nbsp;<span title="$1" style="background-color:black;color:white; font-family:serif">&nbsp;☿&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: slash
# key: ficslash
# --
&nbsp;<span title="$1" style="background-color:#1256b6;color:white; font-family:serif">&nbsp;♂&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: teen
# key: fict
# --
&nbsp;<span title="$1" style="background-color:#e8d405;color:white; font-family:serif">&nbsp;T&nbsp;</span>$0

View file

@ -1,4 +0,0 @@
# name: archive-warnings
# key: ficwarnings
# --
&nbsp;<span title="$1" style="background-color:#9c0000;color:white; font-family:serif">&nbsp;!&nbsp;</span>$0

View file

@ -1,6 +0,0 @@
# name: git-token
# key: git
# --
`(with-temp-buffer
(insert-file-contents "~/Documents/drive/token-t29")
(buffer-string))`$0

View file

@ -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

View file

@ -0,0 +1,4 @@
# name: site-user
# key: siteuser
# --
@@html:<user name="$1" site="$2">@@$0