Continued from JuliaLang/julia#36590.
Currently, string and cmd macros are often used for syntax extensions. While the contents of a string macro might sometimes be code or sometimes a special form of string like LaTeXStrings.jl, cmd macros on the other hand seem to always contain code. However, we highlight their contents as if they were strings.
I think it'd be nice if we just applied regular julia syntax highlighting to the contents of a cmd macro, or even provided hooks so that people can customize the highlighting of specific string / cmd macros.