Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Allow linking directly to a paragraph #812
Comments
harding
changed the title from
There's something lacking from bitcoin.org: the ability to link directly to a paragraph
to
Allow linking directly to a paragraph
Apr 9, 2015
|
@kamenoccc indeed, that's a useful feature and we have it for some of our longer docs. For example: https://bitcoin.org/en/developer-guide#block-chain You'll also notice if you scroll that page that URL in your browser's location bar updates automatically as you go from section to section. We absolutely should try adding those features to other pages. I'll take a look at it today. Thanks! |
|
@harding Anchor urls were typically translated for each pages with a table of content. I guess it would be quite a lot of work to add translated anchors to each and every page, so you may want to consider using anglais anchor urls only (Edit: to be clearer: English anchor urls on every translated page) |
|
@saivann yep, that's what I did, thanks! Although, when we next update the Jekyll version, we can use its newish I should have a PR for basic anchor links to all subheads on all pages up as soon as I finish some final checks. I'll have a second PR for adding |
|
PRs fixing this issue added:
|
|
Closing; this is now fully implemented on the site. Thanks! |
kamenoccc commentedApr 9, 2015
Bitcoin.org is a really informative website, translated for many languages and helpful to bitcoiners nevertheless.
However, I often find myself hesitant when it comes to linking someone directly to it so he/she can learn something specific. I'm afraid that they'll be lost in text if I do. That's because despite the simplicity the terminology in the website has, we're not able to link directly to a paragraph.
Many other websites have this ability, including forums, wikis and other websites that can be informative. Here's an example of what I mean through wikipedia:
https://en.wikipedia.org/wiki/Bitcoin#History
The text after the '#' links to a header of the text, this way making it easier for readers to know where they should start reading from.
I think such an addition could be really useful for bitcoin.org and possibly make it easier to read too.
PS: It's the first time I'm trying to contribute to a project in github. Let me know if I'm doing something wrong.