ChatGPT Artefacts

Claude-like Artefacts inside ChatGPT Code Blocks.

这些是此脚本变更过代码的版本。 显示所有版本。

  • v1.3.1 2024-09-21

    Add markdown support in v1.3.1 The changes include an update to version 1.3.1, which adds support for rendering markdown artefacts in the script. The markdown library marked.js is utilized to parse and display markdown content within the iframe. Additionally, the changelog is updated to reflect this new feature.

  • v1.3 2024-09-21

    Add Mermaid support and refactor code The changes in the script include an update to version 1.3, adding support for Mermaid diagrams. The addToLibrary function now accepts an isHTML parameter, and the handling of code blocks has been improved to differentiate between HTML and other code types. Additionally, the documentation has been updated to reflect these changes.

  • v1.2.2 2024-09-21

    Update version to 1.2.2 The changes include an update to the version number from 1.2.1 to 1.2.2 in both chat_artefacts.js and chat_artefacts.md. The script now writes code directly to a new window without escaping HTML, improving functionality. Additionally, the changelog reflects a fix for opening a new tab from the library.

  • v1.2.1 2024-09-21

    Enhance library UI and visibility The changes include an update to the ChatGPT Artefacts script, enhancing the library UI for better compactness and visibility. The version number was incremented to 1.2.1, and various UI elements were adjusted for improved user experience. Additionally, the message tracker UI's position and visibility settings were modified.

  • v1.2 2024-09-20

    Add copy code button functionality The changes introduce a "Copy Code" button to the chat_artefacts.js file. This button allows users to copy code snippets to the clipboard, with visual feedback indicating success or failure. The button is styled and integrated into the existing button layout.

  • v1.2 2024-09-20

    Add library functionality for artefacts The changes in version 1.2 include the addition of a library for artefacts, allowing users to save, delete, import, and export artefacts. Users can also run library items in a sidebar or new tab. The UI has been enhanced with a save button for easy library management.

  • v1.1 2024-09-20

    Improve observer reliability The changes in the script include an update to version 1.1, which introduces an auto reinitialization feature for the backend processes when the observer is disconnected, enhancing reliability. The changelog has been updated to reflect this improvement, while the initial release details remain unchanged.

  • v1.0 2024-09-19