[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tomelr df0e73334f 59/84: Revert "doc: Update the medley
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tomelr df0e73334f 59/84: Revert "doc: Update the medley example" |
Date: |
Tue, 3 May 2022 09:58:13 -0400 (EDT) |
branch: externals/tomelr
commit df0e73334f918ee9de7e1f0a7cd0fb9037a79faa
Author: Kaushal Modi <kaushal.modi@gmail.com>
Commit: Kaushal Modi <kaushal.modi@gmail.com>
Revert "doc: Update the medley example"
This reverts commit 26f1fc2f3c0245e69c8c72b0cd01024f9d53078b.
---
README.org | 129 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 69 insertions(+), 60 deletions(-)
diff --git a/README.org b/README.org
index e6a77a1f5a..21f1f0540d 100644
--- a/README.org
+++ b/README.org
@@ -708,53 +708,51 @@ CLOSED: [2022-04-30 Sat 01:32]
(integers . (123 -5 17 1234))
(floats . (12.3 -5.0 -1.7e-05))
(booleans . (t :false))
- (dog . (:legs 4
- :eyes 2
- :friends ("poo" "boo")))
+ (contributors . ("Foo Bar <foo@example.com>"
+ ((name . "Baz Qux")
+ (email . "bazqux@example.com")
+ (url . "https://example.com/bazqux"))))
+ (dog . ((legs . 4)
+ (eyes . 2)
+ (friends . ("poo" "boo"))))
(header . ((image . "projects/Readingabook.jpg")
(caption . "stay hungry stay foolish")))
- (collection . (:nothing :false
- :nonnil t
- :animals ("dog" "cat" "penguin" "mountain gorilla")
- :strings-symbols ("abc" "def" "two words")
- :integers (123 -5 17 1234)
- :floats (12.3 -5.0 -1.7e-05)
- :booleans (t :false)))
+ (collection . ((nothing . :false)
+ (nonnil . t)
+ (animals . ("dog" "cat" "penguin" "mountain gorilla"))
+ (strings-symbols . ("abc" "def" "two words"))
+ (integers . (123 -5 17 1234))
+ (floats . (12.3 -5.0 -1.7e-05))
+ (booleans . (t :false))))
(menu . ((foo . ((identifier . "keyword-collection")
(weight . 10)))))
- (resources . [(:src "*.png"
- :name "my-cool-image-:counter"
- :title "The Image #:counter"
- :params (:foo "bar"
- :floats (12.3 -5.0 -1.7e-05)
- :strings-symbols ("abc" "def" "two words")
- :animals ("dog" "cat" "penguin" "mountain gorilla")
- :integers (123 -5 17 1234)
- :booleans (t :false)
- :byline "bep"))
- (:src "image-4.png"
- :title "The Fourth Image")
- (:src "*.jpg"
- :title "JPEG Image #:counter")]))
+ (resources . (((src . "*.png")
+ (name . "my-cool-image-:counter")
+ (title . "The Image #:counter")
+ (params . ((foo . "bar")
+ (floats . (12.3 -5.0 -1.7e-05))
+ (strings-symbols . ("abc" "def" "two words"))
+ (animals . ("dog" "cat" "penguin" "mountain
gorilla"))
+ (integers . (123 -5 17 1234))
+ (booleans . (t :false))
+ (byline . "bep"))))
+ ((src . "image-4.png")
+ (title . "The Fourth Image"))
+ ((src . "*.jpg")
+ (title . "JPEG Image #:counter")))))
#+end_src
*** TOML
-#+begin_src emacs-lisp :noweb yes :exports results :wrap src toml
-(tomelr-encode
- <<medley>>)
-#+end_src
-
-#+RESULTS:
#+begin_src toml
title = "Keyword Collection"
-author = [ "firstname1 lastname1", "firstname2 lastname2", "firstname3
lastname3" ]
-aliases = [ "/posts/keyword-concatenation", "/posts/keyword-merging" ]
-images = [ "image 1", "image 2" ]
-keywords = [ "keyword1", "keyword2", "three word keywords3" ]
-outputs = [ "html", "json" ]
-series = [ "series 1", "series 2" ]
-tags = [ "mega front-matter", "keys", "collection", "concatenation", "merging"
]
-categories = [ "cat1", "cat2" ]
-videos = [ "video 1", "video 2" ]
+author = ["firstname1 lastname1", "firstname2 lastname2", "firstname3
lastname3"]
+aliases = ["/posts/keyword-concatenation", "/posts/keyword-merging"]
+images = ["image 1", "image 2"]
+keywords = ["keyword1", "keyword2", "three word keywords3"]
+outputs = ["html", "json"]
+series = ["series 1", "series 2"]
+tags = ["mega front-matter", "keys", "collection", "concatenation", "merging"]
+categories = ["cat1", "cat2"]
+videos = ["video 1", "video 2"]
draft = false
categories_weight = 999
tags_weight = 88
@@ -764,41 +762,44 @@ mybaz = "zoo"
alpha = 1
beta = "two words"
gamma = 10
-animals = [ "dog", "cat", "penguin", "mountain gorilla" ]
-strings-symbols = [ "abc", "def", "two words" ]
-integers = [ 123, -5, 17, 1234 ]
-floats = [ 12.3, -5.0, -1.7e-05 ]
-booleans = [ true, false ]
+animals = ["dog", "cat", "penguin", "mountain gorilla"]
+strings-symbols = ["abc", "def", "two words"]
+integers = [123, -5, 17, 1_234]
+floats = [12.3, -5.0, -1.7e-05]
+booleans = [true, false]
+contributors = [
+ "Foo Bar <foo@example.com>",
+ { name = "Baz Qux", email = "bazqux@example.com", url =
"https://example.com/bazqux" }
+]
[dog]
legs = 4
eyes = 2
- friends = [ "poo", "boo" ]
+ friends = ["poo", "boo"]
[header]
image = "projects/Readingabook.jpg"
- caption = "stay hungry stay foolish"
+ caption = "stay hungry, stay foolish"
[collection]
nothing = false
nonnil = true
- animals = [ "dog", "cat", "penguin", "mountain gorilla" ]
- strings-symbols = [ "abc", "def", "two words" ]
- integers = [ 123, -5, 17, 1234 ]
- floats = [ 12.3, -5.0, -1.7e-05 ]
- booleans = [ true, false ]
-[menu]
- [menu.foo]
- identifier = "keyword-collection"
- weight = 10
+ animals = ["dog", "cat", "penguin", "mountain gorilla"]
+ strings-symbols = ["abc", "def", "two words"]
+ integers = [123, -5, 17, 1_234]
+ floats = [12.3, -5.0, -1.7e-05]
+ booleans = [true, false]
+[menu.foo]
+ identifier = "keyword-collection"
+ weight = 10
[[resources]]
src = "*.png"
name = "my-cool-image-:counter"
title = "The Image #:counter"
[resources.params]
foo = "bar"
- floats = [ 12.3, -5.0, -1.7e-05 ]
- strings-symbols = [ "abc", "def", "two words" ]
- animals = [ "dog", "cat", "penguin", "mountain gorilla" ]
- integers = [ 123, -5, 17, 1234 ]
- booleans = [ true, false ]
+ floats = [12.3, -5.0, -1.7e-05]
+ strings-symbols = ["abc", "def", "two words"]
+ animals = ["dog", "cat", "penguin", "mountain gorilla"]
+ integers = [123, -5, 17, 1_234]
+ booleans = [true, false]
byline = "bep"
[[resources]]
src = "image-4.png"
@@ -893,6 +894,14 @@ booleans = [ true, false ]
true,
false
],
+ "contributors": [
+ "Foo Bar <foo@example.com>",
+ {
+ "name": "Baz Qux",
+ "email": "bazqux@example.com",
+ "url": "https://example.com/bazqux"
+ }
+ ],
"dog": {
"legs": 4,
"eyes": 2,
- [elpa] externals/tomelr 4c419bcee2 37/84: fix: Support TOML tables specified as plists, (continued)
- [elpa] externals/tomelr 4c419bcee2 37/84: fix: Support TOML tables specified as plists, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr baf81228bc 45/84: fix: Correct the spec for nested array of tables, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4dda8e6be3 46/84: chore: Style edits in a test, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 5959b90ffa 44/84: fix: Don't let TOML tables be recognized as TOML tables arrays, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr b64eb07e99 49/84: fix: Detect TT with sub-tables correctly, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4386d99a85 65/84: refactor(minor): Use `tomelr--toml-table-p`, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 26f1fc2f3c 55/84: doc: Update the medley example, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr e2b313ca3b 52/84: feat: Implement everything planned in the initial spec, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 4434ccc64b 70/84: chore: Bump version, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 10a1994aed 51/84: feat: Support (lightly tested) nested TOML Table Arrays, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr df0e73334f 59/84: Revert "doc: Update the medley example",
ELPA Syncer <=
- [elpa] externals/tomelr ec381fd723 79/84: fix: Auto-stringify and auto-quote symbol values, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr a25d952a17 77/84: feat: Auto-coerce string to integers, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr b2ba4c46b5 82/84: refactor: Minor code reorg, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr d86fd721ce 63/84: fix: Compatibility for emacs 26.3, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr a1fa47379e 84/84: chore: Add CHANGELOG generated using git cliff tool, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr ae983711be 78/84: fix: Auto-stringify symbols like 1.10.1, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 61397410af 01/84: Initial empty commit, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 846676a172 06/84: feat: Add plist example, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 8bc506af5a 02/84: Add s-exp->toml examples and spec, ELPA Syncer, 2022/05/03
- [elpa] externals/tomelr 7d8d41f15b 19/84: feat: Encode to multi-line TOML string automatically, ELPA Syncer, 2022/05/03