Skip to content

Stripping ellipsis #213

@LecrisUT

Description

@LecrisUT

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions