Skip to content

[ENHANCEMENT] API for "Copy as markdown" #9858

@JohnDeeBDD

Description

@JohnDeeBDD

Problem (one or two sentences)

Programmers can get task history as "blocks" in the filesystem, but it would be greet to get the actual markdown, the way you see it in the UI. Currently there is already an awesome "Copy as markdown" feature that human users can click. I wish there was an API for this that wasn't sandboxed behind VSCode's webviews.

Context (who is affected and when)

There is no automated way to get the markdown result. I want to capture the markdown to an EXTERNAL variable. i.e. another extension that wants the RESULT of a task in markdown.

Desired behavior (conceptual, not technical)

Pretty simple: currently there is a button "Copy to markdown" that, well copies the result to markdown, and puts it in the system clipboard. There should be an API that triggers this process, instead of having to rely on manually clicking the element.

Constraints / preferences (optional)

No response

Request checklist

  • I've searched existing Issues and Discussions for duplicates
  • This describes a specific problem with clear context and impact

Roo Code Task Links (optional)

No response

Acceptance criteria (optional)

No response

Proposed approach (optional)

No response

Trade-offs / risks (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue/PR - TriageNew issue. Needs quick review to confirm validity and assign labels.enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions