From e3c2724ff3d35ba4c1a37bbf3573a41b024edffc Mon Sep 17 00:00:00 2001 From: Gustav Eek Date: Sat, 14 Dec 2019 15:53:20 +0100 Subject: Notes. Update of notes --- notes | 61 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 60 insertions(+), 1 deletion(-) (limited to 'notes') 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 + ``` -- cgit v1.2.3