Open jedthehumanoid opened 2 years ago
Bear with me if I have misunderstood usage.
I feel like a common usage is having images that look like this: ![](image.png) which references current directory.
![](image.png)
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:
isRelativeLink()
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?
Bear with me if I have misunderstood usage.
I feel like a common usage is having images that look like this:
![](image.png)
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
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()
?