[GH-ISSUE #6334] [Issue]: FR - A copy button on codeblock fences in Professor Mari chat? #3537

Closed
opened 2026-10-21 06:04:04 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @SpicyMarinara on GitHub (Sep 18, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6334

Originally assigned to: @SpicyMarinara on GitHub.

Summary

Imported from the Discord thread "FR - A copy button on codeblock fences in Professor Mari chat?".

Expected behavior

Not provided in the Discord context.

Actual behavior

See the Discord context transcript below.

Steps to reproduce

  1. Not provided in the Discord context.

Environment

  • Marinara Engine version: Not provided
  • Install type: Not provided
  • OS + version: Not provided
  • Browser or app shell: Not provided

Logs, screenshots, or video

See any attachment links and screenshots in the context below.

Additional context

This issue was created automatically from Discord support context.

Discord thread: FR - A copy button on codeblock fences in Professor Mari chat?
Discord thread link: https://discord.com/channels/1417099416812392641/1550541959175868456
Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653)

Discord thread transcript (3 messages)
[2026-09-18T16:20:10.744Z] ylliselmanii: Could we get simple copy buttons when something is wrapped in backticks '` ` `'and is rendered as a code block? Inside Mari Chats, I mean.

Like in the screenshot from Gemini Chat

🙂 ? xoxo? :Kiss: ?

[attached image 1: https://cdn.discordapp.com/attachments/1550541959175868456/1550541959574196435/image.png?ex=6aaeb63a&is=6aad64ba&hm=e974e0ef15d34f7b1b4c9158f0a914741c187e74f8df022d0714851ac3d8e8b8&]
[Discord message: https://discord.com/channels/1417099416812392641/1550541959175868456/1550541959175868456]

[2026-09-18T16:20:11.709Z] Professor Mari [bot]: Howdy!

Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.**

**Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab:

`Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.`

If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here:

`Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version`

Thank you, this will help tremendously.

This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case.

Cheers!
[Discord message: https://discord.com/channels/1417099416812392641/1550541959175868456/1550541963223113769]

[2026-09-18T18:25:26.035Z] Marinara: Yes.
[Discord message: https://discord.com/channels/1417099416812392641/1550541959175868456/1550573480590971031]

Template check

Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:

  • I DID NOT read this template and provide the requested details.
Originally created by @SpicyMarinara on GitHub (Sep 18, 2026). Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/6334 Originally assigned to: @SpicyMarinara on GitHub. ## Summary Imported from the Discord thread "FR - A copy button on codeblock fences in Professor Mari chat?". ## Expected behavior Not provided in the Discord context. ## Actual behavior See the Discord context transcript below. ## Steps to reproduce 1. Not provided in the Discord context. ## Environment - Marinara Engine version: Not provided - Install type: Not provided - OS + version: Not provided - Browser or app shell: Not provided ## Logs, screenshots, or video See any attachment links and screenshots in the context below. ## Additional context This issue was created automatically from Discord support context. Discord thread: FR - A copy button on codeblock fences in Professor Mari chat? Discord thread link: https://discord.com/channels/1417099416812392641/1550541959175868456 Requested by: Marinara (marinara_spaghetti, Discord ID 169561011928432653) <details> <summary>Discord thread transcript (3 messages)</summary> ```text [2026-09-18T16:20:10.744Z] ylliselmanii: Could we get simple copy buttons when something is wrapped in backticks '` ` `'and is rendered as a code block? Inside Mari Chats, I mean. Like in the screenshot from Gemini Chat 🙂 ? xoxo? :Kiss: ? [attached image 1: https://cdn.discordapp.com/attachments/1550541959175868456/1550541959574196435/image.png?ex=6aaeb63a&is=6aad64ba&hm=e974e0ef15d34f7b1b4c9158f0a914741c187e74f8df022d0714851ac3d8e8b8&] [Discord message: https://discord.com/channels/1417099416812392641/1550541959175868456/1550541959175868456] [2026-09-18T16:20:11.709Z] Professor Mari [bot]: Howdy! Thank you for submitting a new bug report/feature request, your support means a lot. A member of the team will look into it as soon as possible, and if they find it valid, they will open a GitHub Issue out of it. You can check whether it was addressed on the staging build of Marinara Engine. **Do not ping any of the developers, this will not speed up the process.** **Please include a Support Diagnostic in the post if you haven't done it yet.** Otherwise, ignore this step. To grab it, go to the Marinara Engine tab: `Settings -> Advanced -> Support Diagnostics -> Copy Support Diagnostics.` If your report is about any of the **Agents**, please provide **the Agent's version** which you can grab from here: `Agents -> Download Agents -> Installed Agents -> Selected Agent -> Installed Version` Thank you, this will help tremendously. This is an automated message, but if you reply to it, I will do my best to assist you using my LLM-powered brain. That said, it's best for a human to handle this case. Cheers! [Discord message: https://discord.com/channels/1417099416812392641/1550541959175868456/1550541963223113769] [2026-09-18T18:25:26.035Z] Marinara: Yes. [Discord message: https://discord.com/channels/1417099416812392641/1550541959175868456/1550573480590971031] ``` </details> ## Template check Please **uncheck (untick)** the box below before submitting so we know you read the template. It is intentionally pre-checked: - [ ] I DID NOT read this template and provide the requested details.
bsakaguchi 2026-10-21 06:04:04 +07:00
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

@SpicyMarinara is handling this in the current issue sweep: #6335. Implementation and regression proof are in progress.

<!-- gh-comment-id:5734520539 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): @SpicyMarinara is handling this in the current issue sweep: #6335. Implementation and regression proof are in progress.
Author
Owner

@SpicyMarinara commented on GitHub (Sep 18, 2026):

Resolved in #6335, merged into staging.

Professor Mari's fenced code blocks now reuse the Docs viewer's copy controls. Copying preserves code whitespace and provides localized, accessible success/failure feedback, with the existing clipboard fallback.

Browser proof checks exact copied text, denied clipboard handling, and the shared Docs controls in both themes across desktop Chromium, mobile Chromium and mobile WebKit. Inline code remains unchanged.

<!-- gh-comment-id:5735399174 --> @SpicyMarinara commented on GitHub (Sep 18, 2026): Resolved in #6335, merged into `staging`. Professor Mari's fenced code blocks now reuse the Docs viewer's copy controls. Copying preserves code whitespace and provides localized, accessible success/failure feedback, with the existing clipboard fallback. Browser proof checks exact copied text, denied clipboard handling, and the shared Docs controls in both themes across desktop Chromium, mobile Chromium and mobile WebKit. Inline code remains unchanged.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
Pasta-Devs/Marinara-Engine#3537
No description provided.