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
官方網址 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"
            ]
        }
    ]
}