MartianInGreen / ChatGPT-Enhancements

UserScript enhancements for ChatGPT
MIT License
3 stars 2 forks source link

Support for Mermaid Diagram Rendering & Width Adjustment #1

Closed jerrylususu closed 1 month ago

jerrylususu commented 1 month ago

I recently came across your userscript, and I must say it's truly impressive! I decided to fork it and experiment with a couple of enhancements:

  1. Add support for Mermaid diagram rendering image

  2. Enable adjustable width resize

With the help of Claude, I was able to implement these features to a certain extent. However, given the complexity of the script, I'm not entirely confident about making pull requests directly. (It's quite hacky frankly.) I've made a few commits that reflect the modifications, which you can check out. It would be great if you could review them and consider integrating similar improvements into the main repository.

Thank you once again for creating such a useful script!

MartianInGreen commented 1 month ago

Hey! Thanks so much, I'll check it out! I've definitely been thinking about adding support for more types of artifacts!

MartianInGreen commented 1 month ago

Resizing already works btw, just a bit convoluted, you have to resize by clicking the top bar and then dragging that

MartianInGreen commented 1 month ago

Mermaid support added with https://github.com/MartianInGreen/ChatGPT-Enhancements/commit/f40e8d2dbe445527ee1095c36e4d4ee04907c387. :)