Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added some basic tests for definition lists.
- Loading branch information
1 parent
f8cc334
commit 9a070e5
Showing
11 changed files
with
147 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
["html", | ||
["dl", | ||
["dt", | ||
"a term" | ||
], | ||
["dd", | ||
["em", | ||
"emphasised" | ||
], | ||
" definition." | ||
], | ||
["dt", | ||
"another term" | ||
], | ||
["dd", | ||
["strong", | ||
"strong" | ||
], | ||
" definition." | ||
] | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
a term | ||
: *emphasised* definition. | ||
|
||
another term | ||
: **strong** definition. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
["html", | ||
["dl", | ||
["dt", | ||
"first term" | ||
], | ||
["dd", | ||
"the quick brown fox jumps\nover the lazy dog" | ||
], | ||
["dt", | ||
"second term" | ||
], | ||
["dd", | ||
"pack my box with five\ndozen liquor jugs" | ||
] | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
first term | ||
: the quick brown fox jumps | ||
over the lazy dog | ||
|
||
second term | ||
: pack my box with five | ||
dozen liquor jugs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
["html", | ||
["dl", | ||
["dt", | ||
"fruit" | ||
], | ||
["dd", | ||
"apple" | ||
], | ||
["dd", | ||
"banana" | ||
], | ||
["dd", | ||
"pear" | ||
], | ||
["dt", | ||
"animal" | ||
], | ||
["dd", | ||
"cow" | ||
], | ||
["dd", | ||
"duck" | ||
], | ||
["dd", | ||
"horse" | ||
] | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
fruit | ||
: apple | ||
: banana | ||
: pear | ||
|
||
animal | ||
: cow | ||
: duck | ||
: horse |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
["html", | ||
["dl", | ||
["dt", | ||
"fruit" | ||
], | ||
["dt", | ||
"vegetable" | ||
], | ||
["dd", | ||
"tomato" | ||
], | ||
["dt", | ||
"animal" | ||
], | ||
["dt", | ||
"mineral" | ||
], | ||
["dd", | ||
"pet rock" | ||
] | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fruit | ||
vegetable | ||
: tomato | ||
|
||
animal | ||
mineral | ||
: pet rock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
["html", | ||
["dl", | ||
["dt", | ||
"one" | ||
], | ||
["dd", | ||
"alpha" | ||
], | ||
["dt", | ||
"two" | ||
], | ||
["dd", | ||
"beta" | ||
], | ||
["dt", | ||
"three" | ||
], | ||
["dd", | ||
"gamma" | ||
] | ||
] | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
one | ||
: alpha | ||
|
||
two | ||
: beta | ||
|
||
three | ||
: gamma |