summaryrefslogtreecommitdiff
path: root/subplot.md
diff options
context:
space:
mode:
Diffstat (limited to 'subplot.md')
-rw-r--r--subplot.md26
1 files changed, 26 insertions, 0 deletions
diff --git a/subplot.md b/subplot.md
index 8daf1dd..27da981 100644
--- a/subplot.md
+++ b/subplot.md
@@ -2474,6 +2474,32 @@ and file mtime.html contains "Geoffrey Butler"
and file mtime.html contains "2020-02-26 07:53"
~~~
+### Pandoc metadata
+
+~~~scenario
+given file pandoc.subplot
+given file pandoc.md
+and an installed subplot
+when I run subplot docgen pandoc.subplot -o pandoc.html
+when I run cat pandoc.html
+then file pandoc.html exists
+and file pandoc.html contains "<title>The Fabulous Title</title>"
+and file pandoc.html contains "Superlative Subtitle"
+~~~
+
+~~~{#pandoc.subplot .file .yaml .numberLines}
+title: The Fabulous Title
+markdowns:
+- pandoc.md
+pandoc:
+ subtitle: Superlative Subtitle
+~~~
+
+~~~{#pandoc.md .file .markdown .numberLines}
+# Introduction
+This is a test document. That's all.
+~~~
+
### Missing bindings file
If a bindings file is missing, the error message should name the