Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update org.eld elisp and src templates #41

Merged
merged 1 commit into from
Sep 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions templates/org.eld
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ org-mode
(cntr "#+begin_center" n> r> n> "#+end_center")
(comm "#+begin_comment" n> r> n> "#+end_comment")
(vrs "#+begin_verse" n> r> n> "#+end_verse")
(src "#+begin_src " p n> r> n> "#+end_src" :post (org-edit-src-code))
(src "#+begin_src " p n r n "#+end_src" :post (org-edit-src-code))
(rst "#+begin_src restclient" p n> r> n> "#+end_src" :post (org-edit-src-code))
(elsp "#+begin_src emacs-lisp" n> r> n "#+end_src" :post (org-edit-src-code))
(elsp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code))
(readonly ":tangle yes :tangle-mode (identity #o444) :mkdirp yes" n)
(oxhugo ":PROPERTIES:" n ":EXPORT_FILE_NAME: " (p "Simple Filename") n ":EXPORT_DATE: " (format-time-string "%Y-%m-%d") n ":EXPORT_HUGO_DRAFT: false" n ":END:")
(readmecollapse "*** " (p "Heading") n "#+HTML: <details> <summary> " (p "sub-heading") " </summary>" n (r> "link or any comments") n n "#+HTML: </details>" n)
Expand All @@ -28,6 +28,6 @@ org-mode
(comment "#+begin_comment" n> r> n "#+end_comment")
(verse "#+begin_verse" n> r> n "#+end_verse")
(gnuplot "#+begin_src gnuplot :var data=" (p "table") " :file " (p "plot.png") n> r> n "#+end_src" :post (org-edit-src-code))
(elisp "#+begin_src emacs-lisp" n> r> n "#+end_src" :post (org-edit-src-code))
(elisp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code))
(inlsrc "src_" p "{" q "}")
(title "#+title: " p n "#+author: " p n "#+language: " p n n)
Loading