News for hackers. Stuff that matters.
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