Incorrect path generated for markdown images

I am using a program called Clarify to generate markdown files. The output looks like this:

![Alt text](hardware-connection.jpg)

I would like to be able to simply copy/paste this markdown file contents into Kirby panel.
Unfortunately the path Kirby generates for the image is
http://localhost/projects/hardware-connection.jpg
but it should be
http://localhost/content/1-projects/1-project-a/hardware-connection.jpg

Is there a way I can get Kirby to display these markdown images?

Thanks

Unfortunately, if you use markdown syntax, Kirby needs the path to the page.

Maybe a solution would be to use a Kirbytext pre filter to convert the markdown syntax to Kirbytext syntax using some regex voodoo.

1 Like