sphinx-copybutton icon indicating copy to clipboard operation
sphinx-copybutton copied to clipboard

Stripping ellipsis

Open LecrisUT opened this issue 2 years ago • 1 comments

Context

Consider the following snippet:

```python
extensions = [
    ...
    "sphinx.ext.intersphinx",
]
```

It would be nice to have the copy button strip out the elipsis there, but it is not clear how that can be done

Proposal

Probably the solution would be using: copybutton_exclude, but is there a pygments directive for that?

Tasks and updates

No response

LecrisUT avatar Dec 18 '23 17:12 LecrisUT

Thanks for opening your first issue here! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.
If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).
Welcome to the EBP community! :tada:

welcome[bot] avatar Dec 18 '23 17:12 welcome[bot]