I wanted to ask how you handle language autodetection for snippets.
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.
I wanted to ask how you handle language autodetection for snippets.