News for hackers. Stuff that matters.
Re:Show HN: Syntax highlighting tool for code snippets in HTML by mtmail on Thursday May 16, 2024 @11:23AM (#40379521)
I don't understand what is sold here. Is it an API? A downloadable widget? A command-line tool? What does access mean and how can access be denied later?

Please submit again when it's ready to be tested. "sign-up pages,[...] Those can't be tried out, so can't be Show HNs." https://news.ycombinator.com/showhn.html

Re:Show HN: Syntax highlighting tool for code snippets in HTML by vojtech_richter on Thursday May 16, 2024 @03:26PM (#40382129)
Hey, thanks for you feedback, I really appreciate it, I'm just getting started in the software business, so I'm grateful for anything I can learn from:)
Re:Show HN: Syntax highlighting tool for code snippets in HTML by vojtech_richter on Thursday May 16, 2024 @03:31PM (#40382195)
Also, off topic, you're working on your bootstrapped SaaS? May I know what it is? Would love to check it out, and perhaps learn a thing or two.
Re:Show HN: Syntax highlighting tool for code snippets in HTML by verdverm on Thursday May 16, 2024 @11:52AM (#40379829)
There are many open source projects available that do this sort of thing. Many are built into blog tools

Shiki, highlight.js, Chroma to name a few libraries

Re:Show HN: Syntax highlighting tool for code snippets in HTML by vojtech_richter on Thursday May 16, 2024 @03:24PM (#40382110)
Makes a lot of sense, should've made more research.

Appreciate the feedback a lot!

Re:Show HN: Syntax highlighting tool for code snippets in HTML by verdverm on Thursday May 16, 2024 @03:26PM (#40382127)
I'm sure it is still a good learning experience. I cannot imagine the pain you felt doing the html by hand!

I learned a lot by working on a universal formatting setup.

https://github.com/hofstadter-io/hof/tree/_dev/formatters

Re:Show HN: Syntax highlighting tool for code snippets in HTML by vojtech_richter on Thursday May 16, 2024 @03:29PM (#40382165)
It certainly was. I just wanted to solve one of my little problems :D.

Hof looks real cool

Re:Show HN: Syntax highlighting tool for code snippets in HTML by verdverm on Thursday May 16, 2024 @03:46PM (#40382358)
thanks, it was originally just code gen to solve one of my problems, but quickly expanded when I started getting user feedback and/or embraced CUE