Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you use a html`` tagged template literal combined with the html-in-template-string vs code extension you get syntax highlighting. A simple html identity literal function is a one-liner: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: