dece
09f30d3d00
gemtext: fix missing empty lines in pre. blocks
2021-07-08 15:29:55 +02:00
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).
2021-05-28 13:34:08 +02:00
dece
6b0a622017
gemtext: fix issue with preformatted blocks
2021-05-04 22:29:00 +02:00
dece
bce65a1472
browser: minor fixes
2021-04-16 19:30:14 +02:00
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!
2021-03-28 18:55:52 +02:00
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.
2021-03-14 00:09:24 +01:00
dece
2767402d9f
clean
2021-03-14 00:09:24 +01:00
dece
05c54eff48
page: move page content to a separate class
2021-03-14 00:09:24 +01:00
dece
1b8127eea1
add module docstrings
2021-03-13 20:38:52 +01:00
dece
15f56289b9
gemtext: handle list items
2021-02-16 20:23:44 +01:00
dece
4d1cc5650f
gemtext: support metadata on opening fences
2021-02-15 18:51:07 +01:00
dece
6d676d0471
init: basic protocol/nav/rendering
2021-02-12 19:01:55 +01:00