add markdown parsing

This commit is contained in:
Daniel Fichtinger 2025-06-20 21:57:21 -04:00
parent 3c14be416a
commit 46f7bc451d
3 changed files with 43 additions and 0 deletions

7
tests/test_markdown.py Normal file
View file

@ -0,0 +1,7 @@
from zona.markdown import md_to_html
def test_render():
content = "# Hello World!"
out = md_to_html(content)
assert out.strip() == "<h1>Hello World!</h1>"