branch: externals/denote
commit 65c4af8f36f57f5bb3736b9ab50b71e8c99a91a2
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Use "begin_example" for samples
---
README.org | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/README.org b/README.org
index 8501a89a0e..0b7a89a54d 100644
--- a/README.org
+++ b/README.org
@@ -477,36 +477,36 @@ as the date and unique identifier, which are derived
automatically.
This is how it looks for Org mode (when ~denote-file-type~ is nil):
-#+begin_src org
-,#+title: This is a sample note
-,#+date: [2022-06-30 Thu 16:09]
-,#+filetags: denote testing
-.#+identifier: 20220630T160934
-#+end_src
+#+begin_example
+#+title: This is a sample note
+#+date: [2022-06-30 Thu 16:09]
+#+filetags: denote testing
+#+identifier: 20220630T160934
+#+end_example
For Markdown with YAML (~denote-file-type~ has the =markdown-yaml=
value), the front matter looks like this:
-#+begin_src md
+#+begin_example
---
title: "This is a sample note"
date: 2022-06-30T16:09:58+03:00
tags: denote testing
identifier: "20220630T160958"
---
-#+end_src
+#+end_example
For Markdown with TOML (~denote-file-type~ has the =markdown-toml=
value), it is:
-#+begin_src md
+#+begin_example
+++
title = "This is a sample note"
date = 2022-06-30T16:10:13+03:00
tags = ["denote", "testing"]
identifier = "20220630T161013"
+++
-#+end_src
+#+end_example
And for plain text (~denote-file-type~ has the =text= value), we have
the following: