Skip to content

[FEATURE] give code blocks/code snippets an optional copy button  #3671

Description

@TachyonWolf

Is your feature request related to a problem? Please describe.

Not a problem as much as a time save. I'd love a option in the settings to add a copy button to all code block.

Describe the solution you'd like

As above, just a copy button on all code block if you enable it in the options.

Describe alternatives you've considered

Not sure, I just copy it from the editor or preview right now.

Additional context

Example from github:
https://gcdnb.pbrd.co/images/Yix3Un4-_KDE.png

Of course I would suggest setting it up as an option so it does not alter the look of existing notebooks unless they want this feature. :)

Output from the debug section in the settings dialog

None.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions