enchant97 / note-mark

Note Mark is a lighting fast and minimal; web-based Markdown notes app.
https://notemark.docs.enchantedcode.co.uk/
GNU Affero General Public License v3.0
284 stars 6 forks source link

(feat) Export note as ZIP with assets #201

Open CrazyVito11 opened 1 month ago

CrazyVito11 commented 1 month ago

Does it fit the projects scope?

Why?

I recently documented everything I used to create a Home Assistant dashboard, and let's say someone I know wants to replicate those steps. Currently I would have to download the markdown file, download every single asset and then update the links to be relative to the markdown file before I can give it to him.

Solution?

It would be nice if there was a simple button to "Export note as ZIP" that would automatically collect the markdown file and assets into one ZIP file, where the links to the assets have been replaced with relative paths to make sure it properly renders.

Alternatives?

I also attempted the print option and then export to PDF, but in this case it doesn't format properly because of the high resolution images I used.

Extra Context

Screenshot of what saving to PDF looks like Screenshot_20240616_184241

enchant97 commented 1 month ago

Great idea! Seems like the print feature could also be improved to handle higher resolution images as well.