npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Github images in readme are broken on npmjs

What I Wanted to Do

I included images into on github and they displayed just fine:

I wanted the copy of this README on npmjs to display the same images without breakage.

What Happened Instead

Only two images out of five are displayed on npmjs, the other three appear broken:

Reproduction Steps

Open and observe for yourself. Compare to


I would guess it’s a bug in your github markdown parser. The URLs of the first two images are parsed out and converted to absolute, the other three URLs are left relative and consequently they are broken.

Platform Info

I don’t think this is relevant.