Commit Graph

6 Commits

Author SHA1 Message Date
Christophe HENRY 859b0aad81 Deep refactoring: parsing, translating, classes
* Removes "^" to disable text decoration line-wise.
* Split HTML generation in two: parsing and translating.
* Create class to handle gemtext parsing.
* Create class to translate to HTML.
* Create class to generate back gemtext (for future test cases).
* Uses generators to parse then translate.
* Fix: 404 doesn't occur for an empty file.
* Page 404 fully generated by HtmGem itself.
* CSS is no longer incorporated in the HTML page.
* Handle CSS inclusion by addCss() calls.
2021-03-18 22:03:44 +01:00
Christophe HENRY c040ba14a3 Removes ^ at the beginning of lines in tutogemtext 2021-03-11 21:01:18 +01:00
Christophe HENRY d3cd419b5a Rewords the tutorial 2021-03-11 11:56:49 +01:00
Christophe HENRY c218d37728 Improves the text a little bit 2021-03-11 11:07:01 +01:00
Christophe HENRY a380fadde9 Rewording about text formatting / decoration 2021-03-11 10:59:58 +01:00
Christophe HENRY 9b4f33f42f Improves general presentation 2021-03-10 11:28:52 +01:00