Async highlighting
See original GitHub issueHi, is there a way to know when highlighting is finished? Would be awesome to have ability to take a callback, so it’ll work nicely with something like marked
markdown parser:
https://github.com/chjj/marked
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Changing asynchronous highlighting #3035 - PrismJS/prism
We recently had an issue with WebPack and async highlighting. The problem was that our current WebWorker approach assumes that the script ...
Read more >Async syntax highlighting plugin? : r/neovim
I'm wondering if anyone has written an async syntax highlighting plugin, similar to chromatica.nvim but dumber? Like, literally if it just ran the...
Read more >How to fix no highlight for "async" "await" keywords | VSCode
For some reason async and await keywords are not highlighted. "Python" and "Python for VSCode" are installed and globally enabled.
Read more >VS Code Semantic highlighting does not highlight async ...
Moved this from server thread Introducing Swift for Visual Studio Code the highlighting is not done by VSCode, it is done by sourcekitd....
Read more >Highlighting of matching code elements - JetBrains Rider
You can configure some of these highlightings with the Highlight context exits and Highlight related async/await keywords options on the Editor ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks Ivan. I actually am using
marked
withangularjs
for the front-end. I did read that section onmarked
’s readme, however the async implementation is withpygmentize-bundled
, and I likehighlight.js
😃I think what you said about
initHighlighting()
will work. I’ll wrap that inangularjs
’s$q
and report back.This just loads the library async, that has nothing to do with the topic of this thread.