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:
Slack my co-worker the section of the docs he needs (maybe a specific block helper function).
Create an issue with some new or previously unknown Handlebars functionality that I'd like to improve the codebase with.
Include references to the Handlebars docs within our own docs (code review checklists, Readme's and codebase tutorials, comments, etc).
Right now the best options are:
Inspect the html and snag the heading's id, then manually add an anchor to the end of the url (http://handlebarsjs.com/block_helpers.html#basic-blocks).
Link to the page and also include the heading or some text to search for.
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:
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:
http://handlebarsjs.com/block_helpers.html#basic-blocks
).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: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