2022-01-25 14:36:18 +00:00
|
|
|
from gsitegen.generate import *
|
|
|
|
from html5tagger import E
|
|
|
|
|
2022-02-17 14:31:58 +00:00
|
|
|
def test_markdown():
|
2022-01-25 14:36:18 +00:00
|
|
|
doc = E()
|
2022-02-17 14:31:58 +00:00
|
|
|
doc = parseMarkdown(doc, "## Heading 2")
|
2022-01-25 14:36:18 +00:00
|
|
|
assert str(doc) == "<h2>Heading 2</h2>"
|