Skip to content

Add a button in the top right corner of the de doctest blocks to show/hide the prompt  #390

@tristanlatr

Description

@tristanlatr

Python3 docs have this great button that is on the top right corner of doctest blocks. (Example https://docs.python.org/3/library/inspect.html#inspect.signature)

This new button would trigger Javascript that show/hide the element with CSS classes py-prompt , py-more and py-output.

In the the theme, we currently, do not colorize the .. code:: directive and other code like blocks, so that could be changed as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions