Skip to content

Add a button that lets you copy pre-formatted Markdown with Playground information #708

Open
@camelid

Description

@camelid

I used to use the "open a rust-lang/rust issue" link a lot to be able to quickly copy pre-formatted example code, a playground link, and stdout, but that feature was removed due to it being used for spam (#671).

It would be nice to have a replacement feature where it would let me copy what used to go into the GitHub issue body. E.g., it would output this to a textbox that could be copied:

Code ([playground](...)):

```rust
...
```

Output:

```
...
```

This would actually be even more useful to me than the old "open a rust-lang/rust issue" link because I often want to use the output in Zulip messages or issue or PR comments.

Originally posted by @camelid in #671 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions