Skip to content
This repository has been archived by the owner on Jul 1, 2024. It is now read-only.

Syntax highlighting discussion #97

Closed
pepelsbey opened this issue May 8, 2014 · 2 comments
Closed

Syntax highlighting discussion #97

pepelsbey opened this issue May 8, 2014 · 2 comments

Comments

@pepelsbey
Copy link
Contributor

Right now we’re highlighting Dev.Opera code using Highlight.js. There’s an idea to switch to highlighter marking up code during build process using Pygments.

One thing I noticed when switching from pygments to highlight.js is the significant improvement in processing the blog. When running jekyll, what used to take half a minute to a minute now takes a couple of seconds to run. It looks like pygments is the bottleneck.

Switching from pygments to highlight.js

Completely unfair comparison of Javascript syntax highlighters

@andreasbovens
Copy link
Contributor

My feeling is that we should stick to highlight.js — it makes sense to do this in JS in my opinion, rather than overloading the build process with yet another step.

@mathiasbynens
Copy link
Contributor

Alright!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants