Open viridia opened 1 year ago
That is interesting. I don't know if I can do anything about how npmjs.com processes my original markdown. For now, it would be best to go directly to the original at
https://github.com/cosinekitty/astronomy/tree/master/source/js
Thanks that's helpful, I didn't know about that link. One suggestion, then, would be to embed the canonical doc link into the doc somewhere, so that when it shows up on npmjs.com, people can click on it to go to the github page and get the better experience.
That's a good idea! I hadn't thought about how people would land on the npm page first, and not realize it was a slightly imperfect copy of the original documentation.
On the npmjs.com page (https://www.npmjs.com/package/astronomy-engine) there are a lot of links which have UR: fragment identifiers:
However, clicking on these links does nothing - it looks like whatever markdown-to-HTML converter is being used doesn't include the anchor elements which would cause the page to scroll down to the linked topic.