npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community. links that work on GitHub do not work on

I’ve created the to be accommodated to GitHub, but when I publish the package on npm, the links do not work.

In my file I have got a header moveOn(list, config, done, catch).
GitHub resolves it as 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>

@zkat Do you know which lib is used to convert markdown to html on the website?