Skip to content

Error on inline image using standard markdown notation #126

Closed
@gmuller

Description

What happened?

I have a markdown file with an inline reference to an image. It looks like this:

![image-2.png](/obsidian/image-2.png)

when I try to generate the site or serve locally, I get the following error message:

ERROR 2022/02/16 13:17:04 [CONGO] Markdown image error in "obsidian/write-test.md": Resource "/obsidian/image-2.png" not found. Check the path is correct or remove the image from the content. Error: Error building site: logged 1 error(s)

I've tried putting the file in the correct static dir, and in the content dir, and cannot seem to make this work. I'm assuming this is Congo specific based on the error message, and when I test with a different theme (hugo-bearblog) the image renders correctly with no error messages.

Theme version

2.0.4

Hugo version

0.92.2

What browsers are you seeing the problem on?

No response

Relevant Hugo log output

`ERROR 2022/02/16 13:17:04 [CONGO] Markdown image error in "obsidian/write-test.md": Resource "/obsidian/image-2.png" not found. Check the path is correct or remove the image from the content.
Error: Error building site: logged 1 error(s)`

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions