Fix: denote-org-front-matter template to remove spaces

This commit is contained in:
Vedang Manerikar 2024-12-03 07:25:25 +05:30
parent e8f2c0f7c4
commit a1020e61d4
2 changed files with 16 additions and 16 deletions

View file

@ -4943,14 +4943,14 @@ Prot is the developer and maintainer of this package.
;; Front-matter for Org files ;; Front-matter for Org files
(setq denote-org-front-matter (setq denote-org-front-matter
":PROPERTIES: ":PROPERTIES:
:ID: %4$s :ID: %4$s
:CREATED: %2$s :CREATED: %2$s
:END: :END:
,#+title: %1$s ,#+title: %1$s
,#+filetags: %3$s ,#+filetags: %3$s
,#+date: %2$s ,#+date: %2$s
,#+identifier: %4$s ,#+identifier: %4$s
\n")) \n"))
(defun vedang/denote-publishing-extras-new-blog-entry (&optional date) (defun vedang/denote-publishing-extras-new-blog-entry (&optional date)
"Create a new blog entry. "Create a new blog entry.

View file

@ -232,14 +232,14 @@
;; Front-matter for Org files ;; Front-matter for Org files
(setq denote-org-front-matter (setq denote-org-front-matter
":PROPERTIES: ":PROPERTIES:
:ID: %4$s :ID: %4$s
:CREATED: %2$s :CREATED: %2$s
:END: :END:
#+title: %1$s #+title: %1$s
#+filetags: %3$s #+filetags: %3$s
#+date: %2$s #+date: %2$s
#+identifier: %4$s #+identifier: %4$s
\n")) \n"))
(defun vedang/denote-publishing-extras-new-blog-entry (&optional date) (defun vedang/denote-publishing-extras-new-blog-entry (&optional date)
"Create a new blog entry. "Create a new blog entry.