oof! that was a lot of work, but now we’re REALLY getting somewhere!!!
-
first thing, headings actually work now, and if there’s a link in the
heading, it gets displayed right below the heading! tbf i did rip the
heading thing straight out of the originalindex.jsfile when i was
trying to make a markdown parser using regex
-
secondly, and the more important thing, image rendering now works. pretty big milestone. i achieved this through the
terminal-imagenpm package. however, this took a while because i couldn’t figure out why it wouldn’t render. the problem was tmux–it was stripping the codes it didn’t recognise
so i implemented another system to detect if the terminal had color and/or image support to decide whether to use ansi blocks or actual images. now, it works! ts so peak fr
tl;dr
- headings work (i ripped them out of my original implementation in
index.js) - images work (took me a while because it didn’t work properly in tmux
- we getting somewhere with this one 🔥
Comments 6
I’ll give you a follow, heart, view AND comment
jam being slick in the comment section
@onyxtheone
looks lovely. potential glow competitor?
@Koei glow is the reason i made this, it didn’t display images and it didn’t make headings bigger lmfao, but im not trying to make it fast, that’s impossible in this case
@Koei glow is the reason i made this, it didn’t display images and it didn’t make headings bigger lmfao, but im not trying to make it fast, that’s impossible in this case
Sign in to join the conversation.