diff options
-rw-r--r-- | notes | 61 |
1 files changed, 60 insertions, 1 deletions
@@ -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 + ``` |