diff options
author | Lars Wirzenius <liw@liw.fi> | 2021-09-09 19:06:58 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2021-09-09 19:06:58 +0300 |
commit | 38e454e009890f96b181f7df9a26c2b58a3012fe (patch) | |
tree | d5569da1209c05bea0ae811e818154f6f49bd12d /subplot.md | |
parent | 1afd692bacf6c95d5897d4af74f6f2d4f8b91c1f (diff) | |
download | subplot-38e454e009890f96b181f7df9a26c2b58a3012fe.tar.gz |
fix: handle most inline markup in metadata titles
Actually, we only didn't handle `foo` code markup.
Sponsored-by: author
Diffstat (limited to 'subplot.md')
-rw-r--r-- | subplot.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1100,6 +1100,28 @@ then bar was done ~~~ +## Title markup + +It is OK to use markup in document titles, in the YAML metadata +section. This scenario verifies that all markup works. + +~~~scenario +given file title-markup.md +given an installed subplot +when I run subplot docgen title-markup.md -o foo.pdf +then file foo.pdf exists +~~~ + +~~~~{#title-markup.md .file .markdown .numberLines} +--- +title: This _uses_ ~~all~~ **most** inline `markup` +subtitle: H~2~O is not 2^10^ +template: python +... + +# Introduction +~~~~ + ## Empty lines in scenarios This scenario verifies that empty lines in scenarios are ignored. |