Support semicolon-separated author/tag lists.

Idea borrowed from Docutils.  This allows one to write author lists in
lastname,firstname format.  The code change also means that readers with
fancy metadata that can natively represent lists (e.g. Docutils itself,
or MD-Yaml) don't have to merge 'em back together for process_metadata's
sake.
This commit is contained in:
Zack Weinberg 2015-03-21 21:54:06 -04:00
commit c918380802
6 changed files with 67 additions and 9 deletions

View file

@ -0,0 +1,10 @@
This is an article with multiple authors in list format!
########################################################
:date: 2014-02-09 02:20
:modified: 2014-02-09 02:20
:authors: - Author, First
- Author, Second
The author names are in last,first form to verify that
they are not just getting split on commas.

View file

@ -0,0 +1,6 @@
This is an article with multiple authors in lastname, firstname format!
#######################################################################
:date: 2014-02-09 02:20
:modified: 2014-02-09 02:20
:authors: Author, First; Author, Second