Commit graph

6 commits

Author SHA1 Message Date
6e383b8980
Don't set a label if there is none 2021-04-28 10:13:08 +02:00
3c8456cda3
Add type hints.
This is helpful for better ide support and for my own thinking...
2021-04-28 10:13:04 +02:00
eee0377a95
Add docstrings and convert to package 2021-04-28 10:13:00 +02:00
aecbe362ad
Working parser/converter
The parser now works as expected with no known bugs.

As expected from the spec each line of ordinary text is treated as a separate
paragraph.
2021-04-28 10:12:55 +02:00
3cd0ce594c
This is the initial commit
This is a working parser and converter of gemtext to html.

It can properly parse and convert all parts of a gemtext document,
however there are still bugs and the html might not be 100% valid
html5 yet.

A known bug is that a list directly after a blockquote, without a
newline in between will cause the quote to contain the first element
of the list.
2021-04-28 10:12:37 +02:00
0694a46f90 Initial commit 2021-04-25 13:29:52 +00:00