docker-library/docs

Automake anchor links

danepowell opened this issue · 2 comments

I frequently have to link to Docker library docs. On long pages like for the PHP image, it would be really nice to be able to link to a specific heading.

For instance, GitHub automakes anchor links, such as for the PHP README: https://github.com/docker-library/docs/blob/master/php/README.md#how-to-install-more-php-extensions

But the docs on hub.docker.com are missing such anchors.

tianon commented

The rendering engine used for the markdown on Docker Hub has changed several times, and I don't think it's always consistently supported anchors. When I need an anchor, I usually link to the canonical version of the docs on GitHub instead 😅