Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
With the following dir structure:
~/test
❯ tree
.
├── images
│ └── a.png
└── subdir
└── a.md
3 directories, 2 files
~/test
❯ cat subdir/a.md

When importing the test folder to Siyuan, the image is lost.
Siyuan tried to construct the abs path from ~/test
and ../images/a.png
, which leads to a non-existent path.
Instead it should construct the abs path from ~/test/subdir
and ../images/a.png
.
Expected result
The image should be there after the import.
Screenshot or screen recording presentation
No response
Version environment
- Version: Git master
- Operating System: Linux
- Browser (if used):
Log file
Not relevant
More information
No response
Metadata
Metadata
Assignees
Type
Projects
Relationships
Development
No branches or pull requests
Activity
Fix relative path when importing markdown folder
🐛 Fix relative path when importing markdown folder (#14096)
🐛 Fix relative path when importing markdown folder (siyuan-note#14096)