We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It's not currently possible to highlight the text on the fly.
If I enter this text into contenteditable field, then run this code:
field, then run this code:
hljs.registerLanguage('terraform', window.hljsDefineTerraform); hljs.highlightAll(); I get this result: https://i.imgur.com/pYe2l91.png
hljs.registerLanguage('terraform', window.hljsDefineTerraform); hljs.highlightAll();
I get this result: https://i.imgur.com/pYe2l91.png
The text was updated successfully, but these errors were encountered:
The HTML becomes this after "highlighting":
https://i.imgur.com/Q6MQL30.jpg
Sorry, something went wrong.
Related: The duplicate issue opened against the main repo has been closed with wontfix. highlightjs/highlight.js#3583
wontfix
No branches or pull requests
It's not currently possible to highlight the text on the fly.
If I enter this text into contenteditable
field, then run this code:
I get this result: https://i.imgur.com/pYe2l91.png
The text was updated successfully, but these errors were encountered: