dece
09f30d3d00
gemtext: fix missing empty lines in pre. blocks
3 years ago
dece
1468e6ef10
page: add a dumb rendering mode
...
Dumb mode affects Gemtext parsing (gotta keep those empty lines) and
rendering (render empty lines, do not attempt to put smart margins).
3 years ago
dece
6b0a622017
gemtext: fix issue with preformatted blocks
3 years ago
dece
bce65a1472
browser: minor fixes
3 years ago
dece
8aee7fdfba
gemtext: add links/title to parsing result
...
parse_gemtext used to return only the element list, requiring subsequent
loops to find a title or collect links; now it's all done at the same
time!
3 years ago
dece
0c786087ea
gemtext: auto-close preformatted blocks
...
The spec does not say if preformatted text should be rendered or not if
the file stops before the closing fence is found. The wording makes me
think it is more adequate to auto-close the block in this case.
3 years ago
dece
2767402d9f
clean
3 years ago
dece
05c54eff48
page: move page content to a separate class
3 years ago
dece
1b8127eea1
add module docstrings
3 years ago
dece
15f56289b9
gemtext: handle list items
3 years ago
dece
4d1cc5650f
gemtext: support metadata on opening fences
3 years ago
dece
6d676d0471
init: basic protocol/nav/rendering
3 years ago