JavaScript syntax highlighter for LookML with highlight.js

joshtemple
Participant II

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!

bbf2578e-9b31-447a-93ed-63012e25389c.png

https://github.com/spectacles-ci/highlightjs-lookml

1 0 125