The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
readme.md links that work on GitHub do not work on npmjs.com
I’ve created the
readme.md to be accommodated to GitHub, but when I publish the package on npm, the links do not work.
readme.md file I have got a header
moveOn(list, config, done, catch).
GitHub resolves it as
npmjs.com resolves it as
Is there any workaround to make the links work both on GitHub and npmjs?
You could use HTML to define the headings
Table of Contents <a href="#moveon">moveOn</a> <h1 id="moveon">moveOn(list, config, done, catch)</h1>