markdown
markdown copied to clipboard
Relative links not always identified
Bear with me if I have misunderstood usage.
I feel like a common usage is having images that look like this:

which references current directory.
Now if I want to prefix that in html, so that it points to /public/ or something, my solution was to use
RendererOptions{
...
AbsolutePrefix: "/public/",
}
Which does not seem to work.
Digging a little bit shows that isRelativeLink()-function says that it's not relative
Isn't it though? :slightly_smiling_face:
AFAICT, it's proper syntax for relative urls, and quite commonly used.
Would you be open for a pull request, adding some more heuristics to isRelativeLink()?
Seems like I can probably solve this with a custom RenderNodeHook otherwise?