Roave / DocbookTool

:books: Docbook Tool for static documentation generation from Markdown files
52 stars 4 forks source link

Image path should be resolved relative to the file including it #271

Closed asgrim closed 1 year ago

asgrim commented 1 year ago

Given the following:

/docs-src/book
  /subdir
    some-image.png
    docs.md

If docs.md contains:

![the image](some-image.png)

It will fail; the path currently needs to be relative to the content root, so this would work:

![the image](subdir/some-image.png)
Ocramius commented 1 year ago

Handled in #277