Skip to content

Don't allow selecting iex> in doctests #835

@michalmuskala

Description

@michalmuskala

Today copying from doctests is a bit annoying, especially if there are multiple lines involved, because you'll also select the iex> or ...> parts.

It would be great, if we could make it so that those parts are skipped over when you try to select and copy the code from examples. I did a little research and it seems it's possible to do this in css with user-select: none, but I'm not really sure how to integrate it into the ex_doc pipeline.

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