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

Show examples inline #145

Merged
merged 1 commit into from
Jun 12, 2022
Merged

Conversation

serras
Copy link
Contributor

@serras serras commented Jun 12, 2022

This PR changes the way Examples are shown, from its own page into a collapsible panel in the message itself. And even better, this is done without any JavaScript, only pure HTML!

  • Two folded examples imagen
  • One unfolded example imagen

@david-christiansen
Copy link
Collaborator

This looks really nice! Much better than what I had made. I'll test it out tomorrow.

Do examples still have their own URLs? If so, it might be nice to either make those accessible or to eliminate them and add permalinkable anchors here. What do you think?

@serras
Copy link
Contributor Author

serras commented Jun 12, 2022

My personal preference would be to remove them and add the anchors.

@david-christiansen
Copy link
Collaborator

I would tend to agree. I think that pages that few people look at are likely to bitrot. But we can always do that after a merge of this one.

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.

None yet

2 participants