yzane / vscode-markdown-pdf

Markdown converter for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=yzane.markdown-pdf
Other
1.01k stars 206 forks source link

Best practice for relative links #200

Open PleachiM opened 4 years ago

PleachiM commented 4 years ago

When we are converting our .md with a relative link like a relative link the markdown itself is fine. But it would help a lot when the conversion would also convert the link to a relative link.

Any best practice solution for that?

itagagaki commented 5 months ago

I am just now facing the exact same problem. This means that we cannot distribute the generated html documents to others. I am surprised to know that this problem has been left unattended for 4 years.

itagagaki commented 5 months ago

Sorry. I misunderstood this issue. The problem I had is #372.

Regarding this issue, if the purpose is to use the result converted to html, I think the only way is to write "other-file.html" as a reference in the markdown stage. It is impossible to test anchor links at the markdown stage, but testing can be done with the converted html, right?