Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change "show hidden lines" icon to "eye" instead of "expand." #1281

Merged
merged 1 commit into from
Jul 21, 2020

Conversation

onelson
Copy link
Contributor

@onelson onelson commented Jul 17, 2020

In a recent discussion in the amethyst docs discord channel,
it was suggested that using an "eye" icon might make the show hidden
lines feature of mdbook's code sample rendering more discoverable.

I myself overlooked the arrows that are in use now for longer than I'd like to admit.

Fixes #663 at least in part.

Some rendered output from the example book follows:

show

hide

In a recent discussion in the amethyst docs discord channel,
it was suggested that using an "eye" icon might make the show hidden
lines feature of mdbook's code sample rendering more discoverable.

I myself overlooked the arrows that are in use now.

Fixes rust-lang#663 at least in part.
Copy link
Contributor

@ehuss ehuss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I kinda agree the old icon was a little confusing. Hopefully people will find this maybe a little clearer.

@ehuss ehuss merged commit a884c25 into rust-lang:master Jul 21, 2020
Ruin0x11 pushed a commit to Ruin0x11/mdBook that referenced this pull request Aug 30, 2020
Change "show hidden lines" icon to "eye" instead of "expand."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make hiding and showing of setup code in code examples more obvious
2 participants