-
Notifications
You must be signed in to change notification settings - Fork 122
Description
Describe the bug
After exporting from OneNote to Markdown, all the images were lost. According to the content of the Markdown file, the image paths are incorrect. There is also an issue where images from different notes are being overwritten.
To Reproduce
TestExportmarkdown.zip
Unzip the attachment as the onenote package to export. In the notebook there are 5 test aritcle , include table, pic, attachment, formula, hand drawn.
result-20250813 17-42.zip
测试导出markdown.zip
As the result, there are some error:
- The pics are exported to system temp folder, not in resources folder."C:\Users\XXX\AppData\Local\Temp";
- In md file ,pics are link to temp folder, not resource folder. And path separator "",“/” are mix. "(C:\Users\XXX\AppData\Local\Temp\测试导出markdown\pandoc/media/image1.jpeg)"
- Diff articles's pic use the same filename in same folder , course overwritten.
Expected behavior
The pics export to resources folder, with a unique name, avoid overwritten. And links in md files are correct.
Logs
Join the "logs.txt" log file located in the directory of the tool.
Desktop (please complete the following information):
- OneNodeMdExporter version : V1.5.0
- Windows version : Win10 22H2 19045.6093 64 bits
- Office Version : office 2019 32 bits
Additional context
Add any other context about the problem here.