diff options
author | Matt Singleton <matt@xcolour.net> | 2022-01-15 10:11:26 -0600 |
---|---|---|
committer | Matt Singleton <matt@xcolour.net> | 2022-01-16 13:04:41 -0600 |
commit | 72e2b1675b300d9ffde1b93a1f2f567df49343cf (patch) | |
tree | 2033f942b683de4a74e31f82564cb5ab43d20523 /gemini.py | |
parent | 17921744313bcffeb65f9cd9fb387364691a39db (diff) |
basic visual style
Diffstat (limited to 'gemini.py')
-rw-r--r-- | gemini.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -19,7 +19,8 @@ def gem2html(gem: str) -> str: parser = fsm.Parser(gem.split('\n'), html) parser.parse() html.write('</div>\n</body>\n</html>') - print(html.getvalue()) + with open('latest.html', 'w') as fp: + fp.write(html.getvalue()) return html.getvalue() |