HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by verdverm | Hacker News Reader
Full thread
verdverm
·
Where do you want syntax highlighting to be visible?
View on HN
rampatra
·
On the UI, of course. Do you mean to say that I can use some js libraries and do the highlighting on the client-side?
verdverm
·
Yea, highlight.js is awesome and it's pretty easy to add new languages. Your code still looks like code, highlight handles breaking it down into html
rampatra
·
Yes, if I don't get any good options in Java then I would go with either codemirror (used in the dev console in many browsers) or highlight.js
Reply on news.ycombinator.com