Frogmouth is a really nice little tool for viewing Markdown files at the command-line, the formatting of the components seems well thought out.
It is written in Python using the Textual library and the code is pretty readable while being non-trivial so it's an interesting example application to learn from.