You are browsing as a guest. Sign up (or log in) to start making projects!

5h 35m 42s logged

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 original index.js file when i was
    trying to make a markdown parser using regex :isob:

  • secondly, and the more important thing, image rendering now works. pretty big milestone. i achieved this through the terminal-image npm 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 :heavysob: 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

  1. headings work (i ripped them out of my original implementation in
    index.js)
  2. images work (took me a while because it didn’t work properly in tmux
  3. we getting somewhere with this one 🔥

Changelog

0
331

Comments 6

@jam06452

I’ll give you a follow, heart, view AND comment

@onyxtheone

jam being slick in the comment section

@Koei

looks lovely. potential glow competitor?

@Keyboard1000n17

@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

@Keyboard1000n17

@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