Skip to content

Disabling the expansion of hidden lines in code snippets #767

Open
@Moxinilian

Description

@Moxinilian

Sometimes we make code snippets that contain hidden # lines that setup some context for automated testing and verification but that should not be seen by the reader. However, there is no way to disable the expand button like you can disable the play button with noplaypen.

It would be useful to have a feature like noexpand be available to remove that button without needing to manually inject ugly CSS in the output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions