More generally, it would be great if there were some way to hook in and add custom syntax highlighting for arbitrary template literal names.
Syntax highlighting in template literals would make it much friendlier to use Observable for any type of compile-to-javascript or run-in-a-browser language. For example, coffeescript, clojurescript, wasm, webgl shaders, or … Python? Not to mention html, css, markdown, svg, …
Figuring out how to make highlighting flexible enough to achieve parity with javascript highlighting might be tricky. I’m not exactly sure what the ideal behavior is; maybe other folks have ideas.