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

feat(ComponentExample): show code on direct link #557

Merged
merged 1 commit into from
Sep 28, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Sep 28, 2016

Anchor links allow linking directly to examples. This PR updates examples to expand their code when they are linked to directly. For example, http://technologyadvice.github.io/stardust/elements/button#emphasis renders with the code showing:

image

It also fixes some more minor layout issues.

@codecov-io
Copy link

codecov-io commented Sep 28, 2016

Current coverage is 98.98% (diff: 100%)

Merging #557 into master will not change coverage

@@             master       #557   diff @@
==========================================
  Files           112        112          
  Lines          1767       1767          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits           1749       1749          
  Misses           18         18          
  Partials          0          0          

Powered by Codecov. Last update ab4f7ba...1f76455

@levithomason levithomason merged commit 8128a9a into master Sep 28, 2016
@levithomason levithomason deleted the docs/show-code-from-anchor-links branch September 28, 2016 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants