diff options
author | John MacFarlane <jgm@berkeley.edu> | 2014-12-15 09:20:03 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2014-12-15 09:20:03 -0800 |
commit | d009646de7b5795cd5985ba0a5fe70e5b2c57df6 (patch) | |
tree | e2c2c57ed7a5d8309aa9bf9adb2d96e62829ebe1 | |
parent | a864e9a348dba4f4630999cb7a65c2ed3ce09308 (diff) | |
download | pandoc-d009646de7b5795cd5985ba0a5fe70e5b2c57df6.tar.gz |
Added a note about the need for `-s` to include YAML in Markdown output.
Closes #1715. Thanks to @nichtich for the suggestion.
-rw-r--r-- | README | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -1953,6 +1953,11 @@ A document may contain multiple metadata blocks. The metadata fields will be combined through a *left-biased union*: if two metadata blocks attempt to set the same field, the value from the first block will be taken. +When pandoc is used with `-t markdown` to create a markdown document, +a YAML metadata block will be produced only if the `-s/--standalone` +option is used. All of the metadata will appear in a single block +at the beginning of the document. + Note that YAML escaping rules must be followed. Thus, for example, if a title contains a colon, it must be quoted. The pipe character (`|`) can be used to begin an indented block that will be interpreted |