Skip to content

add copy button to code blocks #389

@yeus

Description

@yeus

Is your feature request related to a problem? Please describe.
I would like to have an optional copy button for code blocks.

Describe the solution you'd like
When a code block e.g. like this:

image

appears, there should be a copy button next to the code block

Describe alternatives you've considered
I tried showCopy, but it only works for the entire document.

Additional context

it works in github :). see:

print("you can copy this!!")

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