Live data from Hacker News

Show HN: Code Hike – More than syntax highlighting

codehike.org

21–30 of 40 posts

Re: Show HN: Code Hike – More than syntax highlighting

#21
post #17

I created a syntax highlighting API earlier this year with some of the same features: https://torchlight.dev . 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.

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

#22
post #17

I created a syntax highlighting API earlier this year with some of the same features: https://torchlight.dev . 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.

lol, people paying money for this?

Re: Show HN: Code Hike – More than syntax highlighting

#23
post #22
post #17

I created a syntax highlighting API earlier this year with some of the same features: https://torchlight.dev . 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.

lol, people paying money for this?

Right? I'm 99% sure this thing uses https://github.com/shikijs/shiki

Re: Show HN: Code Hike – More than syntax highlighting

#26
post #22

Earlier quoted context omitted.

lol, people paying money for this?

Right? I'm 99% sure this thing uses https://github.com/shikijs/shiki

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

#27
post #18

Quite impressive, I didn't get it at first because I thought it was just MDX. Then I saw that there were changes in the video such as "```js focus=2,4[9:30],6", ans I saw that the code in the video was highlighted differently, then I understood the product. It's a way to annotate code more deeply than just with MDX. You need to make that much more explicit IMO, it needs to be quite clear when people read the site. I…

I'd be curious your take on https://torchlight.dev . I went more long form.

I think your 5000 requests per month for the businesss tier are a bit on the low side. Especially, since there is nothing above that.

Maybe add a "Need more? Contact us" tier.

Also, I'd love to use this with technologies other than PHP. I use Rocket (Rust) in one of my projects and tried to check out the standalone cli as my only option.

The link to it didn't work on firefox mobile.

Thankfully clicking on any of the PHP things worked and brought me to the same docs where I could then navigate to the CLI.

Maybe highlight it more that you don't even need special integration with the Webserver, since it's possible to preprocess pages with your cli utility.

That part was not immediately obvious and might have turned me away, had I not been determined to see what the CLI tool did.

Re: Show HN: Code Hike – More than syntax highlighting

#28
post #24

Everybody is saying that they didn't got it, but then they got it, and I am still wondering what it does. It looks like Markdown to me. So what is it?

Here is an example:

This page: https://code-hike-sample.vercel.app/ is created entirely from this mdx file: https://raw.githubusercontent.com/pomber/code-hike-sample/ma...

Re: Show HN: Code Hike – More than syntax highlighting

#29
post #26

Earlier quoted context omitted.

Right? I'm 99% sure this thing uses https://github.com/shikijs/shiki

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.

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.

Re: Show HN: Code Hike – More than syntax highlighting

#30
post #17

I created a syntax highlighting API earlier this year with some of the same features: https://torchlight.dev . 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.

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...

Ah good note. Thanks.
Post reply on HN