Comment

Comment by tophercully

Hey! thank you! I actually have a great use for my site itself, you can find the language detection utility on this list: https://snippp.io/list/18

but tldr I'm using hljs to detect and return a string with the language title, and comparing that key against my array of categories.

parent tophercully 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton