Y
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
saityi
2224 days ago
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!
link
saityi
2224 days ago
Now complete -- thanks again for the suggestion! I never liked having to include that bit of JS.
link
saagarjha
2224 days ago
It looks great!
link
Thank you for the idea!