Hacker News new | ask | show | jobs
by Spivak 1613 days ago
Wait, how would that even work? Do you want something like SIXL support but for markdown? Encode your markdown doc in an unholy escape sequence and throw it at the terminal?
2 comments

It would work by the terminal API detecting file type and automatically rendering the markdown. Sort of like this:

https://github.com/alacritty/alacritty/blob/master/extra/ala...

Allowing for different sized headers and what not.

what is SIXL? when googling I can only find some random ETF that I don't think you're talking about.
It's called "Sixel", and it's a way to print graphics in the terminal:

https://en.wikipedia.org/wiki/Sixel

I think the parent refers to sixel: https://saitoha.github.io/libsixel/