diff options
| -rw-r--r-- | tempel-snippets.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tempel-snippets.el b/tempel-snippets.el index 8fc5f55..dcf127b 100644 --- a/tempel-snippets.el +++ b/tempel-snippets.el @@ -2,6 +2,7 @@ fundamental-mode ;; Available everywhere (today (format-time-string "%Y-%m-%d")) (NOW (format-time-string "%Y-%0m-%0d %a %H:%0M")) +(hugo-time (format-time-string "%Y-%m-%dT%H:%M:%S%z")) (time (format-time-string "%Y-%0m-%0d %a %H:%0M")) (yesterday (format-time-string "<%Y-%0m-%0d %a>" (time-subtract nil (* 24 60 60)))) (tomorrow (format-time-string "<%Y-%0m-%0d %a>" (time-add nil (* 24 60 60)))) @@ -11,7 +12,7 @@ org-mode (title "#+title: "p n "#+date: "(format-time-string "[%Y-%0m-%0d %a %H:%0M]") n) (begin "\\begin{" (s env) "}" n> r> n> "\\end{" (s env) "}") -(eq "\\begin{equation*}" n> r> n> "\\end{equation*}") +(eq "\\begin{equation}" n> r> n> "\\end{equation}") (eg "(e.g. " p ")") (fr "\\frac{" p "}{" p "}" q) (NOW (format-time-string "<%Y-%0m-%0d %a %H:%0M>")) |
