ChatGPT Code Highlight

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

目前為 2025-04-26 提交的版本,檢視 最新版本

作者
Dreace
評價
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.