It would be great if https://docs.npmjs.com/about-package-readme-files mentioned what markdown renderer is used. At some point in the past it was marky-markdown, but that repository has been archived and the package hasn't seen an update in years, so I doubt it's still the one.
I was specifically wondering what syntax extensions are available, but had to resort to publishing a dummy package to figure that out via trial and error.