anchor
======

Add anchors to all page headings

# Anchor

Add anchors to all page headings, GitHub style.

## Demo

<p data-height="268" data-theme-id="27" data-slug-hash="nACDH" data-default-tab="result" class='codepen'>See the Pen <a href='http://codepen.io/bartveneman/pen/nACDH/'>Anchor</a> by Bart Veneman (<a href='http://codepen.io/bartveneman'>@bartveneman</a>) on <a href='http://codepen.io'>CodePen</a>.</p>
<script async src="//codepen.io/assets/embed/ei.js"></script>

## Credits

Because it's nice to give attribution.

- [Converting plain text to url friendly slug](http://stackoverflow.com/questions/1053902/how-to-convert-a-title-to-a-url-slug-in-jquery)
- [Converting a Nodelist to an array](http://toddmotto.com/a-comprehensive-dive-into-nodelists-arrays-converting-nodelists-and-understanding-the-dom/)

Add demo and credits to readme
Add demo and credits to readme