Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
saagarjha
· 6y ago · 0 comments
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.
Comments
[–]
saityi
6y 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!
[–]
saityi
6y ago
Now complete -- thanks again for the suggestion! I never liked having to include that bit of JS.
[–]
saagarjha
OP
6y ago
It looks great!