"
+ (convert "1. [ ] Not checked\n2. [x] Checked\n3. Normal list item")
]
htmlTests =
@@ -103,7 +118,9 @@ codeTests =
TestList
[ check_equal "Code by itself" "
Hello world!
" (convert "`Hello world!`"),
check_equal "Code in a paragraph" "
The following text is code
" (convert "The following `text` is code"),
- check_equal "Code across paragraphs (shouldn't work)" "
`Incomplete
Code`
" (convert "`Incomplete\n\nCode`") -- At the moment, this is just treated as a syntax error, so nothing is rendered.
+ check_equal "Code across paragraphs (shouldn't work)" "
`Incomplete
Code`
" (convert "`Incomplete\n\nCode`"), -- At the moment, this is just treated as a syntax error, so nothing is rendered.
+ check_equal "Code block" "