Bug 497117

Summary: [Feature Request] Support keep attachment image/file within notes folder
Product: [Applications] Marknote Reporter: zhiiwg
Component: GeneralAssignee: mbruchert <mbb>
Status: REPORTED ---    
Severity: wishlist CC: carl, mbb
Priority: NOR    
Version First Reported In: 1.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description zhiiwg 2024-12-06 04:01:19 UTC
SUMMARY
MarkNote current support add image to note, but it just keeps image in the original place. 
Maybe add an option for user to choose if copy image to note's folder will be better, reasons are:

1. copy image to note's folder will shorten URL length
2. keep attachment/image within note's folder is simple for sync/import/export cross-platform

Create a hide dot folder in where note is will be a possible approach. For example:

Notes
|-example-note.md
|-.attachment-example-note
    |-image.jpg

And hiding attachment folder in MarkNote list.

STEPS TO REPRODUCE
1. open marknote
2. edit note
3. add image
4. use text editor to check image URL in note

OBSERVED RESULT
image keeps in original place

EXPECTED RESULT
can choose keep image in original place or copy to note's folder

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 6.2.4
KDE Frameworks Version: 6.8.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
no.