Re:Show HN: Code Hike – More than syntax highlighting
by danielskogly on Monday December 06, 2021 @04:53AM
(#29457898)
Just a small heads-up that the first 9 code examples has double scrollbars (see "Scrollbar Blindness" [0]). It's often better with `overflow-x: auto` than `overflow-x: scroll` :)
[0]: https://web.archive.org/web/20210226184710/https://svenkadak...
Re:Show HN: Code Hike – More than syntax highlighting
by aarondf on Monday December 06, 2021 @07:31AM
(#29458918)
Ah good note. Thanks.
Re:Show HN: Code Hike – More than syntax highlighting
by ushakov on Monday December 06, 2021 @05:10AM
(#29457983)
lol, people paying money for this?
Re:Show HN: Code Hike – More than syntax highlighting
by isakkeyten on Monday December 06, 2021 @05:35AM
(#29458112)
Right? I'm 99% sure this thing uses https://github.com/shikijs/shiki
Re:Show HN: Code Hike – More than syntax highlighting
by orta on Monday December 06, 2021 @06:58AM
(#29458659)
I've also made a pretty complex thing with shiki (shiki-twoslash which you could say is similar to torchlight but just for TS/JS)
Torchlight definitely a good chunk of work on top of shiki, and as an external API it might be much easier to work with in many non-JS ecosystems.
Re:Show HN: Code Hike – More than syntax highlighting
by aarondf on Monday December 06, 2021 @07:31AM
(#29458916)
Hey funny seeing you here! Twoslash is incredible, I'm jealous of some of the stuff you can pull off since you're TS/JS only. You've done an amazing job with it, I've always enjoyed looking through your docs.
I've got a handful of paying users and a few hundred free. I'm happy to see syntax highlighting being pushed forward!
I'll definitely be following along, it's beautiful stuff.