TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Using Google’s prettify to add syntax highlighting to code snippets

8 pointsby xngzngover 10 years ago

3 comments

untilHellbannedover 10 years ago
That black color is very intense and IMHO not very pretty.
ghantilaover 10 years ago
Prism is a good light-weight alternative.<p><a href="http://prismjs.com/" rel="nofollow">http:&#x2F;&#x2F;prismjs.com&#x2F;</a>
jabagaweeover 10 years ago
Just as a note, the code is greyed out and hard to read when Javascript is disabled.