Skip to content

Show Example indicator #105

Open

Description

@codehag

For examples, we add a section that says "show example" which indicates that clicking it will expand into a long code block:

This was mentioned in #101

It is currently not ideal. If anyone has ideas about how to adjust this, let's iterate on it. I tried what was suggested in #101, but I found that pulling it to the right moved it out of sight line when reading the descriptions.

Current version:

screenshot 2019-03-04 at 14 33 19

Closed
screenshot 2019-03-04 at 14 31 43

Open
screenshot 2019-03-04 at 14 31 37

Activity

  1. changed the title [-]Show Example[/-] [+]Show Example indicator[/+] on Mar 4, 2019
  2. ljharb commented on Mar 5, 2019

    @ljharb
    Member

    This could use a details tag, whether it starts open or closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    designdiscussionIdea / Issue that needs to be discussed first

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions