Skip to content

Make it possible to add copy to clipboard icon #324

Open
@MarcSkovMadsen

Description

@MarcSkovMadsen

Context

I'm a contributor and user of HoloViz Panel. It uses markdown-it-py as the default renderer for markdown.

I would really like my code blocks to be easy to copy-paste. I would like a copy icon similar to what most data app and tech doc frameworks I know support.

I cannot see how this is possible with markdown-it-py. And I would really like it. So therefore I propose this feature request.

Proposal

A plugin to add a copy to clipboard icon to the rendered markdown.

For example like Github does

image

Or like Quarto does it

image

Additional Context

Tasks and updates

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions