Skip to content

Commands strip markdown from model output when using paste or replace #473

@pjeby

Description

@pjeby

Describe the bug
When using a command that outputs markdown headings, the markup is stripped if I use Copy or Replace on the result.

To Reproduce
Steps to reproduce the behavior:

  1. Run a command that produces markdown, getting a markdown result
  2. Click on "Copy" or "Replace"
  3. The copied or replaced text lacks markdown.

Expected behavior
The model's raw output should be copied, including any markdown.

Desktop (please complete the following information):

  • OS: Windows 10
  • Witsy Version [e.g. 2.2.4]

Additional context
In the "Chat" settings I've enabled copying as markdown, but this appears to only affect Chat, not commands. Basically if I want markdown output I have to turn every command usage into a chat, then copy from there. I couldn't find a similar setting for "Commands", and enabling "Alternate Copy/Paste Method" had no effect.

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions