diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-01-05 15:47:40 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-01-05 15:47:40 +0200 |
commit | 5ff020fac98fd06ee7de4b9d1b40b685dd91a15c (patch) | |
tree | b7f3c5f637adbafaaa5da4f8f428109d61ce0ce4 /blog/2020 | |
parent | 083db5a470bfaa76dfd9381c42f9c3d52b371050 (diff) | |
download | subplot.liw.fi-5ff020fac98fd06ee7de4b9d1b40b685dd91a15c.tar.gz |
Change: code block markup
Diffstat (limited to 'blog/2020')
-rw-r--r-- | blog/2020/01/05/data_files_for_tests.mdwn | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/blog/2020/01/05/data_files_for_tests.mdwn b/blog/2020/01/05/data_files_for_tests.mdwn index 3885a4a..f786d26 100644 --- a/blog/2020/01/05/data_files_for_tests.mdwn +++ b/blog/2020/01/05/data_files_for_tests.mdwn @@ -35,8 +35,8 @@ all stakeholders. The syntax would look something like below, which is an example of a test data file containing a Subplot document. -~~~~markdown -~~~{.file .markdown numberLines} +~~~~~~~~markdown +~~~~~{.file .markdown numberLines} --- title: Test scenario bindings: b.yaml @@ -51,8 +51,8 @@ given precondition foo when I do bar then bar was done ``` -~~~ -~~~~ +~~~~~ +~~~~~~~~ Pandoc allows attributes to fenced code blocks. Above, we declare the block is a file, in markdown, and its lines should be numbered. |