fletcher / MultiMarkdown-5

Reference implementation of MultiMarkdown; replaces MultiMarkdown v4 (deprecated -- see MMD-6 instead)
https://github.com/fletcher/MultiMarkdown-6
Other
293 stars 46 forks source link

Cannot extract more than one instance of a front matter key #41

Open jasedit opened 8 years ago

jasedit commented 8 years ago

When using MultiMarkdown with LaTeX output, it is common to have multiple front matter keys for inputting files, as shown in the usage guide:

latex input: mmd-memoir-header
Title: MultiMarkdown Example
Base Header Level: 2
latex mode: memoir
latex input: mmd-memoir-begin-doc
latex footer: mmd-memoir-footer

Attempting to extract the latex input key from the command line will only print the first value, with no method for accessing the subsequent latex input fields.

fletcher commented 8 years ago

That's correct. In general, there is only one allowed instance of each key. The latex input is the one exception, as it is handled very differently than the others.