wycats / handlebars-site

56 stars 66 forks source link

Make Section Headings Linkable #138

Open jtfairbank opened 8 years ago

jtfairbank commented 8 years ago

First off, thanks soooo much for all the hard work on Handlebars. I hope you're proud that you've saved so many people so much time, and are used in a ton of great apps.

My Problem / Use Case

I want to link to specific parts of the Handlebars documentation within each page. Examples:

Right now the best options are:

Suggested Fix

Just put an anchor link in the <h2> tags, or vice versa. The output html for the Block Helper Page would look like:

<h2 id="basic-blocks">
    <a href="#basic-blocks">Basic Blocks</a>
</h2>

El Fin

Sorry I can't help with a pull request- I don't know ruby. :/ Happy to buy you a beer via paypal, git tip, etc if you implement this request!

Happy coding, Taylor