ChatGPT Code Highlight

Add syntax highlighting for all languages in ChatGPT (using highlight.js)

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

作者
Dreace
今日安裝
0
安裝總數
173
評價
0 0 0
版本
1.2
建立日期
2024-05-31
更新日期
2025-04-26
尺寸
22.0 KB
授權條款
GPL-3.0
腳本執行於

ChatGPTCodeHighlight

为 ChatGPT 编写的所有语言代码增加高亮显示。 支持 Highlight.js 所有的 192 种语言,与 ChatGPT 主题保持一致。

preview

GitHub

安装

使用

  1. 使用「安装」中提到的任意一个插件安装脚本
  2. 打开 https://chatgpt.com/ 进行对话
  3. 查看代码高亮效果

Add syntax highlighting to all language codes written for ChatGPT. Supports all 192 languages of Highlight.js and maintains consistency with the ChatGPT theme.

preview

GitHub

Installation

Usage

  1. Install the script using any of the plugins mentioned in the "Installation" section.
  2. Open https://chatgpt.com/ and start a conversation.
  3. Observe the code highlighting effect.