summaryrefslogtreecommitdiff
path: root/riki.md
diff options
context:
space:
mode:
Diffstat (limited to 'riki.md')
-rw-r--r--riki.md19
1 files changed, 13 insertions, 6 deletions
diff --git a/riki.md b/riki.md
index ed5c2c2..baee12d 100644
--- a/riki.md
+++ b/riki.md
@@ -173,21 +173,28 @@ then AST of site/page.mdwn matches that of output/page.html
There is ~~struck through~~.
~~~
-### Top level heading
+### Headings
-_Requirement: Given a Markdown file with top level heading, the output must
-be an HTML file with one h1 element, without extra elements._
+_Requirement: Given a Markdown file with headings of various levels,
+the output must be an HTML file with corresponding `h1`, `h2`, etc,
+elements, without extra elements. Up to six levels of headings must be
+supported._
~~~scenario
given an installed riki
-given file site/page.mdwn from h1
+given file site/page.mdwn from headings
when I run riki site output
then AST of site/page.mdwn matches that of output/page.html
~~~
-~~~{#h1 .file}
-# Heading
+~~~{#headings .file}
+# Heading one
+## Heading two
+### Heading three
+#### Heading four
+##### Heading five
+###### Heading six
~~~
### Inline code