💾 Archived View for gemini.ctrl-c.club › ~ssb22 › termlayout.gmi captured on 2024-05-26 at 15:29:26. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

🚧 View Differences

-=-=-=-=-=-=-

TermLayout

TermLayout is a text-mode HTML formatter for Unix terminals which supports:

Unrecognised markup is left in the output for inspection.

TermLayout is not a Web browser: it has no facilities for navigating links. It is meant only for formatting text on a terminal using HTML markup. I wrote it when I wanted to page through a document with Ruby markup in fbterm but couldn’t find a text-mode browser that would format this markup correctly.

Download termlayout.py; you will need Python (2 or 3) and a command prompt. (You can also use pip install termlayout or pipx run termlayout if you prefer, and there is history on GitHub.)

termlayout.py

TermLayout is free software licensed under the Apache License, Version 2.0.

Legal

All material © Silas S. Brown unless otherwise stated. Apache is a registered trademark of The Apache Software Foundation. GitHub is a trademark of GitHub Inc. Python is a trademark of the Python Software Foundation. Unix is a trademark of The Open Group. Any other trademarks I mentioned without realising are trademarks of their respective holders.