Hacker News new | ask | show | jobs
by saagarjha 2224 days ago
Why not do the syntax highlighting beforehand instead of on the fly? For example, I use Rouge to highlight all my code as the site is generated.
2 comments

No reason at all; I think I will go look into doing that now. I think it should be a quick fix :)

Thank you for the idea!

Now complete -- thanks again for the suggestion! I never liked having to include that bit of JS.
It looks great!