JavaScript syntax highlighter for LookML with highlight.js

  • 8 September 2022
  • 0 replies

Userlevel 4

We were looking for a way to syntax highlight LookML on our blog at Spectacles. Highlight.js is a popular and lightweight library for syntax highlighting with JavaScript, but it didn’t have a language definition for LookML.

I’ve added one and made it open source. The repository README contains instructions about how to use it with Highlight.js. Please feel free to contribute if you find ways to improve the highlighting!

0 replies

Be the first to reply!