'NPM readme file showing up broken

I have this readme file.

https://pastebin.com/ihH0SKF3

It is written in markdown, and there are code blocks in it


Is there something wrong with my readme file?

On github, it shows up fine enter image description here

But on npmjs.com, it shows up as this

enter image description here

How do I fix this? Is there something wrong with my embed?

Here is the link for the package if needed https://www.npmjs.com/package/no-comma?activeTab=readme



Solution 1:[1]

https://stackoverflow.com/a/61161811/12892767

To fix this, remove the readme from the repository, re-add the readme through Github's website, then pull the GitHub repository and republish a new version.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Michael Thomas