Syntax Highlight Code Blocks

Adds a context menu that provides the ability to add syntax hightlighting to code blocks contained in the page.

什么是Syntax Highlight Code Blocks?

Syntax Highlight Code Blocks是由Mackenzie Zastrow开发的Chrome扩展程序,该扩展的主要功能是“Adds a context menu that provides the ability to add syntax hightlighting to code blocks contained in the page.”。

扩展截图

screenshot
screenshot
screenshot

下载Syntax Highlight Code Blocks扩展crx文件

下载Syntax Highlight Code Blocks扩展crx格式的文件,手动将Chrome插件安装到浏览器中,也可以将crx文件分享给朋友,轻松安装Chrome插件。

扩展使用说明

                        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                    

扩展基本信息

名称 Syntax Highlight Code Blocks Syntax Highlight Code Blocks
ID hpoobjomnbgfehbigjdghibjddfpoigp
官方URL https://chromewebstore.google.com/detail/syntax-highlight-code-blo/hpoobjomnbgfehbigjdghibjddfpoigp
简介 Adds a context menu that provides the ability to add syntax hightlighting to code blocks contained in the page.
文件大小 24.75 KB
安装次数 1,000
当前版本 1.4
更新时间 2015-05-07
上架时间 2015-05-07
评分 3.25/5 共8次评分
开发者 Mackenzie Zastrow
电子邮箱 [email protected]
付费类型 free
扩展官网 https://github.com/zastrowm/Syntax-Highlight-Code-Blocks
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Syntax Highlight Code Blocks",
    "version": "1.4",
    "description": "Adds a context menu that provides the ability to add syntax hightlighting to code blocks contained in the page.",
    "author": "Mackenzie Zastrow",
    "permissions": [
        "activeTab",
        "contextMenus"
    ],
    "background": {
        "scripts": [
            "background.js"
        ],
        "persistent": false
    },
    "icons": {
        "32": "icon-32.png",
        "48": "icon-48.png",
        "128": "icon-128.png"
    },
    "manifest_version": 2
}