For now, only the Apex tag highlights formatted code.

With the raise of the Lightning experience adoption, I saw a lot of questions lately only referring Lightning components developement.

So, some time, there is only HTML and Javascript code posted in the question.

Could it be possible to add syntax highlighting on the lightning-components tag? That would improve code readability.

1 Answer 1


I've changed the Code Language (used for syntax highlighting) to lang-html. Let me know if a different value makes more sense.

Code Language: lang-html

  • Awesome thanks ! We have our first sample here and it's great ! Commented Sep 19, 2017 at 15:37

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .