summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-07-12 20:15:17 +0300
committerLars Wirzenius <liw@liw.fi>2022-07-12 20:15:17 +0300
commitaca421f7996bed50c7c7b61f26e88727f5d89060 (patch)
tree54a6d5e5ebd195484bfa7c5770cad4b6f34f1261 /riki.md
parent213f3cf06a59cf51d52c571c8149686d4ef8122c (diff)
downloadriki-aca421f7996bed50c7c7b61f26e88727f5d89060.tar.gz
test: add scenario for horizontal rule
Sponsored-by: author
Diffstat (limited to 'riki.md')
-rw-r--r--riki.md21
1 files changed, 21 insertions, 0 deletions
diff --git a/riki.md b/riki.md
index 5fe6c47..73793c0 100644
--- a/riki.md
+++ b/riki.md
@@ -253,6 +253,27 @@ then AST of site/page.mdwn matches that of output/page.html
| 1 | 2 |
~~~
+### Horizontal rule
+
+_Requirement: Markup of a horizontal rule must result in hr element in
+HTML output._
+
+~~~scenario
+given an installed riki
+given file site/page.mdwn from rule
+when I run riki site output
+then AST of site/page.mdwn matches that of output/page.html
+~~~
+
+
+~~~{#rule .file}
+foo
+
+---------------------------------------------------------------------------------------
+
+bar
+~~~
+
## Input files other than Markdown
_Requirement: Input files that aren't Markdown files must be copied