aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-01-29 17:59:10 +0000
committerJohn Ankarström <john@ankarstrom.se>2021-01-29 17:59:10 +0000
commit59ce3d3afd41fca58eb776963e94af92daa22e83 (patch)
tree4e24897b2c367cada18e523435256b21f582ed77
parentbead1d53e5025ceb35ac385e49cb1ab143ba3fdd (diff)
downloadem-59ce3d3afd41fca58eb776963e94af92daa22e83.tar.gz
Add tests
-rw-r--r--mkfile2
-rw-r--r--test.em20
-rw-r--r--test.html26
3 files changed, 48 insertions, 0 deletions
diff --git a/mkfile b/mkfile
new file mode 100644
index 0000000..2c475dd
--- /dev/null
+++ b/mkfile
@@ -0,0 +1,2 @@
+test:
+ em test.em > test.html
diff --git a/test.em b/test.em
new file mode 100644
index 0000000..7191935
--- /dev/null
+++ b/test.em
@@ -0,0 +1,20 @@
+= Em example =
+
+This is an example of *Em*.
+
+ - Here is an
+unordered list item.
+ - Here is another.
+
+ 1. Here is an
+ordered list item.
+ 2. Here is another.
+
+ - Here is a list
+ - With another list inside it
+
+ term: definition
+ long term: long
+definition
+
+ code block
diff --git a/test.html b/test.html
new file mode 100644
index 0000000..ddcb021
--- /dev/null
+++ b/test.html
@@ -0,0 +1,26 @@
+<h1>Em example</h1>
+<p>This is an example of *Em*.
+</p>
+<ul><li>Here is an
+unordered list item.
+</li><li>Here is another.
+</li>
+</ul>
+<ol><li>Here is an
+ordered list item.
+</li><li>Here is another.
+</li>
+</ol>
+<ul><li>Here is a list
+</li><ul>
+<li>With another list inside it
+</li>
+</ul>
+</ul>
+<dl><dt>term</dt><dd>definition
+</dd><dt>long term</dt><dd>long
+definition
+</dd>
+</dl>
+<pre>code block
+</pre>