How to highlight specific element? #3590
Answered
by
RunDevelopment
natanfelles
asked this question in
Q&A
-
Hello! I would like to know if it is possible to highlight code blocks within a single element and not on the whole page? I'm working on a debug bar (which loads PrismJS) and would like to avoid conflicts with Prism or Highlightjs used on the page. Thank you very much! |
Beta Was this translation helpful? Give feedback.
Answered by
RunDevelopment
Oct 27, 2022
Replies: 1 comment 1 reply
-
Yes, use |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
natanfelles
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, use
Prism.highlightElement
.