This has a syntax error in the YAML block:
% cat bad.md
---
history:
- number: Release 1.2
changes: |
- TBD
---
This fixes it:
% diff bad.md good.md
5c5
< - TBD
---
> - TBD
The latest pandoc:
% ~/Downloads/pandoc-2.14.0.1/bin/pandoc -v
pandoc 2.14.0.1
...
Pandoc thinks the bad YAML is a table:
% ~/Downloads/pandoc-2.14.0.1/bin/pandoc bad.md
<table>
<tbody>
<tr class="odd">
<td>history:</td>
</tr>
<tr class="even">
<td>- number: Release 1.2</td>
</tr>
<tr class="odd">
<td>changes: |</td>
</tr>
<tr class="even">
<td>- TBD</td>
</tr>
</tbody>
</table>
But it's OK with the good YAML:
% ~/Downloads/pandoc-2.14.0.1/bin/pandoc good.md
Parsing the file as YAML reports the error:
% ~/Downloads/pandoc-2.14.0.1/bin/pandoc --metadata-file bad.md
Error at "bad.md" (line 5, column 0):
Unexpected ' '
% ~/Downloads/pandoc-2.14.0.1/bin/pandoc --metadata-file good.md
^C