Closed asnowwolf closed 8 years ago
Hi @asnowwolf ,
Though the highlightjs dependency is actually removed in #28 , it seems so many people asking about this. So I guess I'll just add it back this weekend. Thanks for the opinion.
Well, I changed my mind after checking out on the bower package's github repo.
It has one huge packed highlight.js with all languages included, and usually you'll only use one or two of them. This adds so much overhead to the network transfer and javascript parsing.
Size difference:
So I recommend that you just stay with the suggested way to include highlight.js described in README.
There's currently no official bower package of highlight.js (see here). You should either build highlight.js yourself or use the pre-built one on cdnjs.
Closing the issue.
This package is dependent on highlightjs but not in bower.json's "dependencies" field.