emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote f1f9f757ef 109/355: Include markdown-toml sample


From: ELPA Syncer
Subject: [elpa] externals/denote f1f9f757ef 109/355: Include markdown-toml sample in the manual
Date: Sun, 26 Jun 2022 23:58:10 -0400 (EDT)

branch: externals/denote
commit f1f9f757ef7ea8d2631389c85fee2815f8b1ff2c
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Include markdown-toml sample in the manual
    
    This concludes the work done on issue 4 over at the GitHub mirror with
    the help of Kaushal Modi: <https://github.com/protesilaos/denote/issues/4>.
---
 README.org | 20 ++++++++++++++++----
 1 file changed, 16 insertions(+), 4 deletions(-)

diff --git a/README.org b/README.org
index e895d863e8..e537bf1e53 100644
--- a/README.org
+++ b/README.org
@@ -252,17 +252,29 @@ This is how it looks for Org mode (~denote-file-type~ is 
nil):
 #+identifier: 20220610T134640
 #+end_example
 
-For Markdown, it looks like this (~denote-file-type~ has the
+For Markdown with YAML, it looks like this (~denote-file-type~ has the
 =markdown-yaml= value):
 
-#+begin_src emacs-lisp
+#+begin_example
 ---
 title:      This is a sample note
 date:       2022-06-10
 tags:       denote  testing
 identifier: 20220610T134718
 ---
-#+end_src
+#+end_example
+
+For Markdown with TOML, it looks like this (~denote-file-type~ has the
+=markdown-toml= value):
+
+#+begin_example
++++
+title      = "This is a sample note"
+date       = 2022-06-10
+tags       = ["denote", "testing"]
+identifier = "20220610T201510"
++++
+#+end_example
 
 And for plain text, we have the following (~denote-file-type~ has the
 =text= value):
@@ -511,7 +523,7 @@ Everything is in place to set up the package.
       '("emacs" "philosophy" "politics" "economics"))
 (setq denote-infer-keywords t)
 (setq denote-sort-keywords t)
-(setq denote-file-type nil) ; default is Org mode, else set `markdown-yaml' or 
`text'
+(setq denote-file-type nil)
 
 (setq denote-front-matter-date-format 'org-timestamp)
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]