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
Marktext uploading pasted image from clipboard into the wrong directory. The documentation says "current file directory" for . and says "The root directory is used when a project is opened and no variables are used."
So . for file directory and empty variable is for root directory (of the project).
[x ] Can you reproduce the issue?
Steps to reproduce
In settings, set relative image folder name to: . for current file directory
Use option "open folder" to open folder with subfolders containing .md files. Example folders structure: myMdFiles/1/file.md myMdFiles/2/file.md myMdFiles/3/file.md
Use left sidebar to open .md file
Paste image into editor
The image will be saved in the directory: myMdFiles/exampleName.png and not in the directory of the open file f.e: myMdFiles/1/exampleName.png
Marktext saves image correctly only when I use option "Open File" for open single file, but when I want to work with multiple files at once using sidebar it doesn't work as it should. Expected behavior:
Save image into current opened FILE directory
Actual behavior:
Save image info current opened directory
Link to an example: [optional]
Versions
MarkText version: 0.17.4
Operating system: Linux Mint 21.1
The text was updated successfully, but these errors were encountered:
Description
Marktext uploading pasted image from clipboard into the wrong directory. The documentation says "current file directory" for . and says "The root directory is used when a project is opened and no variables are used."
So . for file directory and empty variable is for root directory (of the project).
Steps to reproduce
.
for current file directorymyMdFiles/1/file.md
myMdFiles/2/file.md
myMdFiles/3/file.md
myMdFiles/exampleName.png
and not in the directory of the open file f.e:myMdFiles/1/exampleName.png
Marktext saves image correctly only when I use option "Open File" for open single file, but when I want to work with multiple files at once using sidebar it doesn't work as it should.
Expected behavior:
Save image into current opened FILE directory
Actual behavior:
Save image info current opened directory
Link to an example: [optional]
Versions
The text was updated successfully, but these errors were encountered: