It was also informative for me, since a lot of the caching work was done independent by @baris. It is a huge benefit to have someone so dedicated to efficiency that someone like myself can just use the appropriate src/api (or even directly access library methods) and know that the call has been pre-optimized.
How about use highlightjs for code highlight?
I just found this support build for node and has supported
swift, so can we just use this to highlight code?
I think this is better, it can build for special languages, so maybe we could make a plugin to make code highlight more flexible.
I'm going to write a plugin to support
swift, but I don't know what's the best solution. Hope for your advice
Actually, the markdown plugin did use highlightjs before, and I switched to pygments because highlightjs would choke on very large snippets of code (I believe it was a Varnish script)...
If you dig around in the plugin commit history, you can see the code for highlightjs, possibly
Thanks, I think if I just enable
swifthighlight that problem maybe will not happen. If it still happened, i'll report a bug to highlightjs. It's repository is very active, I think they will fix that bug soon.
I want to have a try on
highlightjs, so where can I find your
highlightjsversion plugin? Thanks !
By the way, I just found the latest compiled pygments, but I still don't know how to make this work. https://github.com/tmm1/pygments.rb