You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below reference seems to be where you create the combined md file without taking into account relative path links in the sourced md files. Thus, when the end combined document gets created, the images or relative links will not load. (Specifically I was testing images in md files). I have a multi-level folder structure. I think if you had a fairly basic mkdocs documentation it would not be an issue, or you could strategically place your images to resolve the issue.
I wanted to open this issue to see if this has been thought through.
Looking into this a little more, I was able to find a workaround to this by using the --resource-path argument in pandoc, and adding that to the pandoc_extra_args attribute in the pandoc plugin section of mkdocs.yml
The below reference seems to be where you create the combined md file without taking into account relative path links in the sourced md files. Thus, when the end combined document gets created, the images or relative links will not load. (Specifically I was testing images in md files). I have a multi-level folder structure. I think if you had a fairly basic mkdocs documentation it would not be an issue, or you could strategically place your images to resolve the issue.
I wanted to open this issue to see if this has been thought through.
mkdocs-pandoc-plugin/mkdocs_pandoc/renderer.py
Lines 85 to 101 in e6ebfd7
The text was updated successfully, but these errors were encountered: