Syntax Highlight Code Blocks

Adds a context menu that provides the ability to add syntax hightlighting to code blocks contained in the page.
What is Syntax Highlight Code Blocks?
"Syntax Highlight Code Blocks" is a Chrome extension built for developers which enhances readability of code snippets on webpages. It adds a context menu to enable syntax highlighting on pre > code blocks using highlight.js. This extension also supports multiline pres without code block and various code snippets from msdn.microsoft.com.

Extension stats

Users: 1,000+
Rating: 3.44 (9)
Version: 1.4 (Last updated: 2015-05-07)
Creation date: 2015-05-07
Risk impact: Very low risk impact
Risk likelihood: Low risk likelihood
Manifest version: 2
Permissions:
  • activeTab
  • contextMenus
Size: 25.34K

Other platforms

Not available on Firefox
Not available on Edge
Want to check extension ranking and stats more quickly for other Chrome extensions? Install Chrome-Stats extension to view Chrome-Stats data as you browse the Chrome Web Store.

Extension summary

Some blogs/websites just put snippets of code inside of a pre > code block without syntax highlighting. This is alright, but for developers reading the code, it would be helpful if it actually included syntax highlighting. This extension, on activation via the context menu, finds all pre > code blocks an highlights them with highlight.js (https://highlightjs.org/).

Icons from Simple Icon (http://simpleicon.com/code-optimization.html) and Iconspedia (http://www.iconspedia.com/icon/source-code-icon-22943.html)

  • Version 1.4 adds support for converting multiline pres (w/no code block)
  • Version 1.3 adds support for msdn.microsoft.com magazine code snippets
  • Version 1.2 adds support for msdn.microsoft.com library simple code snippets

User reviews

by Pinus, 2024-09-21

does not launch. returns back to chrome web store.

Cold have an option to choose the language to do the Syntax Highlight.
by Rodrigo Motta, 2016-12-13
View all user reviews

Extension safety

Risk impact

Syntax Highlight Code Blocks does not require any sensitive permissions.

Risk likelihood

Syntax Highlight Code Blocks has earned a fairly good reputation and likely can be trusted.

Upgrade to see risk analysis details

Similar extensions

Here are some Chrome extensions that are similar to Syntax Highlight Code Blocks: