JayChase / angular2-highlight-js

highlight.js integration with Angular
MIT License
21 stars 9 forks source link

Enable Web workers #5

Open niklaszantner opened 7 years ago

niklaszantner commented 7 years ago

It would be nice to have the possibility to enable the usage of Web Workers with the directive (as described here: https://highlightjs.org/usage/). Maybe some attribute like use-web-workers which could be set to true.

JayChase commented 7 years ago

I like the idea of this. I will start having a think about how to do it in an Angular friendly way for the next version (it might be a while though).