Code Blue

Syntax highlighting for code blocks on X/Twitter

什么是Code Blue?

Code Blue是由Pact Interactive开发的Chrome扩展程序,该扩展的主要功能是“Syntax highlighting for code blocks on X/Twitter”。

扩展截图

screenshot

下载Code Blue扩展crx文件

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

扩展使用说明

                        🐦‍⬛ Code Blue
━━━━━━━━━━

Renders blocks of inline code on X/Twitter like:

```js
function sayHello(name) {
  console.log(`Hello, ${name}!`);
}
sayHello('World');
```

```rust
fn main() {
  println!("Hello, World!");
}
```

```latex
c = \pm\sqrt{a^2 + b^2}
```

📝 Change Log
━━━━━━━
0.2.1:
- Add support for the x.com domain

0.2.0:
- Render LaTeX with https://github.com/KaTeX/KaTeX

0.1.0:
- Render code blocks with https://github.com/PrismJS/prism                    

扩展基本信息

名称 Code Blue Code Blue
ID mbjgnjfkngoogkgohnmbimnpdacdbghb
官方URL https://chromewebstore.google.com/detail/code-blue/mbjgnjfkngoogkgohnmbimnpdacdbghb
简介 Syntax highlighting for code blocks on X/Twitter
文件大小 121 KB
安装次数 123
当前版本 0.2.1
更新时间 2023-09-27
上架时间 2023-07-18
开发者 Pact Interactive
电子邮箱 [email protected]
付费类型 free
帮助页面URL https://github.com/vdsabev/code-blue
隐私政策页面URL https://pactinteractive.github.io
支持的语言 en
manifest.json
{
    "update_url": "https:\/\/clients2.google.com\/service\/update2\/crx",
    "name": "Code Blue",
    "description": "Syntax highlighting for code blocks on X\/Twitter",
    "version": "0.2.1",
    "manifest_version": 3,
    "icons": {
        "16": "\/images\/icon_16.png",
        "48": "\/images\/icon_48.png",
        "128": "\/images\/icon_128.png"
    },
    "content_scripts": [
        {
            "matches": [
                "https:\/\/*.x.com\/*",
                "https:\/\/*.twitter.com\/*"
            ],
            "css": [
                "lib\/katex.css",
                "lib\/prism.css"
            ],
            "js": [
                "lib\/katex.js",
                "lib\/prism.js",
                "src\/highlightCodeBlocks.js"
            ]
        }
    ]
}