diff options
| author | BardofSprites <[email protected]> | 2024-10-28 23:24:26 -0400 |
|---|---|---|
| committer | BardofSprites <[email protected]> | 2024-10-28 23:24:26 -0400 |
| commit | a72f00ffb33132a14bee3f894594f8cd07839017 (patch) | |
| tree | adce589470ec30784291b270f25c8f065d04f06e /tempel-snippets.el | |
| parent | d371fbdaed989549e73911eff986386440c19aec (diff) | |
equation and hugo timestamp
Diffstat (limited to 'tempel-snippets.el')
| -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>")) |
