What it says in the box: just like Markd.to_html give you HTML, Markd.to_term gives you something that when printed to a terminal looks nice
Works in light and dark terminals (and guesses if you are using a dark or light one!), does the right thing when piped, and in general tries to generate nice and not gaudy output.
Very nice! I have actually been looking for something like this. When playing around with it, however, I noticed that some special characters like the German “Umlaute (äöü)” are not rendered correctly.
Thanks for the cool shard!
I tried again and it seems the error was on my end haha. The input text that I used (OpenAI API response) was already not correct. Sorry and thanks for the fast reply!
Version 0.4.0 is out, and it’s (as far as I need it) feature complete. So, unless someone else (it has one user other than me AFAIK) and asks for something, this is it :-)
Supports images (even remote)
Supports code blocks
Supports HTML blocks (in a way: you get highlighted HTML)