您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Convert GitHub markdown image uploads to HTML <img> tags with customizable width; supports drag-drop, paste, and attachment button uploads.
A Tampermonkey userscript that automatically converts uploaded image Markdown in GitHub Pull Requests into an HTML <img>
tag with a customizable width.
This tool supports all GitHub image upload methods — including drag-and-drop, paste, and the attachment button — and ensures consistent visual layout for embedded images.
🖼️ Automatically converts this:

into:
<img src="https://github.com/user-attachments/assets/..." alt="alt text" width="300">
✅ Supports all image upload methods:
🔁 Converts image Markdown to HTML <img>
on-the-fly — no need to manually edit it.
⚙️ Customizable width via Tampermonkey menu
🧠 Intelligent detection even when GitHub silently updates the comment box after uploads
Install Tampermonkey:
Install the script:
Your setting is stored and applied persistently across sessions.
Pull requests are welcomed for:
MIT License — see LICENSE
Before Upload:
After Upload (Automatically):
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址