If an image has a url like /path/to/some image.png "alt text") then it fails to be turned into an actual <img> tag. I have written a remark plugin that properly URI encodes these paths with this commit, but it is not being applied properly. I can see that it is indeed correctly mapping ![img](/path/to/some image.png "alt text) -> ![img](/path/to/some image.png "alt text") but it is still showing raw markdown, as against embedding that valid image.
I do not know why it is that the aforementioned plugin does not work, but I suspect that it is being applied after the images have already been embedded, but I do not know. Maybe I need to change the type from text to image 🤔.
If an image has a url like
/path/to/some image.png "alt text")
then it fails to be turned into an actual<img>
tag. I have written a remark plugin that properly URI encodes these paths with this commit, but it is not being applied properly. I can see that it is indeed correctly mapping![img](/path/to/some image.png "alt text)
->![img](/path/to/some image.png "alt text")
but it is still showing raw markdown, as against embedding that valid image.I do not know why it is that the aforementioned plugin does not work, but I suspect that it is being applied after the images have already been embedded, but I do not know. Maybe I need to change the type from text to image 🤔.