Hello! Why doesn't it render in Obsidian? The path is correct, and it works on github and also on vscode

Steps to reproduce

  1. Create an annotation containing an image in the gitbook and synchronize it with github
  2. Clone repository used by gitbook containing the previously created annotation

Expected result

Render the images as they work on vscode and github (images below).

Vscode:

Github:

Actual result

Code:

View:

Environment

Obsidian version: v1.8.3
Installer version: v1.7.7
Operating system: #53-Ubuntu SMP PREEMPT_DYNAMIC Sat Jan 11 00:06:25 UTC 2025 6.8.0-52-generic
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 0
Plugins enabled: 0

RECOMMENDATIONS:
none


Additional information

First I created this note on gitbook, synchronized it with my github, and then cloned it to my Obsidian. Everything works fine on vscode and github, but not on Obsidian.

sorry this is a bit too vague. we are gonna need exact location of the files in the vault.
Can you provide a minimum reproducible example?

The images are at: /home/andre/Documents/andregarrido/.gitbook/assets

Solved. The problem is that the folder is hidden (.gitbook) and apparently Obsidian doesn’t search for files in hidden folders. It would be a good idea to implement a function to do this.