summaryrefslogtreecommitdiffstats
path: root/notes
diff options
context:
space:
mode:
authorGustav Eek <gustav.eek@fripost.org>2019-12-14 15:53:20 +0100
committerGustav Eek <gustav.eek@fripost.org>2020-01-06 16:25:03 +0100
commite3c2724ff3d35ba4c1a37bbf3573a41b024edffc (patch)
treef3d4bfd29c0ebfd020dffcc8bdbd24982129a876 /notes
parent3e3005b7fed77b4ec08a097ec3b52b3e05f80374 (diff)
Notes. Update of notes
Diffstat (limited to 'notes')
-rw-r--r--notes61
1 files changed, 60 insertions, 1 deletions
diff --git a/notes b/notes
index 49f2edd..ed1253d 100644
--- a/notes
+++ b/notes
@@ -18,7 +18,7 @@ This is for *arg-for-fripost*
'pandoc_author' content as list
* 007 1 early
- * Meta overwritten according to wiki tags: title, titlesort
+ * Meta overwritten according to wiki tags: title, titlesort, author, etc
* Otherwise unchanged from 002 4
* 007 4 return
@@ -76,3 +76,62 @@ foreach my $k (keys %{$pagestate{$page}{meta}}) {
}
$template->param('date' => $pagestate{$page}{meta}{date});
```
+
+# Between title and sort in htmlize
+
+Author fields filled forcefully. Title fields not.
+
+# Structure of various meta variables
+
+It is clear that scalar (*MetaInline*) are added and some list
+elements (*MetaList*). Most list, plain, and maps are not. Read code
+around "Try to add other keys as scalars, with pandoc_ prefix only."
+
+Inspect *content look for type (`t`) of meta block elements.
+
+*MetaInlines*
+ :
+ ```
+ title: Argumentera för Fripost
+ ```
+
+*MetaList* with 2 x *MetaInlines*
+ :
+ ```
+ author:
+ - Fripost genom arrangörer
+ - Fler
+ ```
+
+*MetaBlocks* with one *Plain*
+ :
+ ```
+ abstract: >
+ gräv ner dig
+ du glade
+ ```
+
+*MetaBlocks* with one *Plain*
+ :
+ ```
+ fripost_debug_inner: |
+ tillagd i dokument arg-for-fripost
+ ```
+
+*MetaMap* with keys pointing at *MetaInlines*
+ :
+ ```
+ experiment:
+ key_first: Värde
+ key_second: värde
+ ```
+
+*MetaList* with 2 x *MetaMap* with keys pointing to *MetaInlines*
+ :
+ ```
+ references:
+ - id: refone
+ title: Ref-MetaInlines-in-MetaList
+ - id: reftwo
+ title: Ref-MetaInlines-in-MetaList
+ ```