skypackjs / skypack-cdn

An issue tracker for the CDN
107 stars 5 forks source link

Relative links in Markdown not working #227

Open sarsamurmu opened 3 years ago

sarsamurmu commented 3 years ago

Suppose I wrote this in my README.md

[File 1](/src/file-1.js)

The rendered markdown should resolve the link to <packageRepository>/blob/HEAD/src/file-1.js. Currently, the markdown renderer is doing nothing about it, so the link remains the same and resolves to https://www.skypack.dev/src/file-1.js.

You can check npm page and skypack page for the same package. Check the links at the end of the readme.