Syntax highlighting recommendations for Native WC #555
Unanswered
MichaelTrilford-Airwallex
asked this question in
Content
Replies: 0 comments 4 replies
-
|
Just to clarify @MichaelTrilford-Airwallex you would like guidelines for highlighting code displayed inside components? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
For Shadow.Root docs, can we add some helpful guidelines on MDN of how we can enable syntax highlighting for native web components?
This is one area that I struggle to find any information on, and I would love to learn more about achieving that.
https://developer.mozilla.org/en-US/docs/Web/API/ShadowRoot/innerHTML
shadow.innerHTML = '<strong>This element should be more important!</strong>';Beta Was this translation helpful? Give feedback.
All reactions