ChatGPT 代码高亮

为 ChatGPT 添加所有语言代码高亮(使用 highlight.js)

作者
Dreace
日安装量
0
总安装量
141
评分
0 0 0
版本
1.1
创建于
2024-05-31
更新于
2024-05-31
大小
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.