Post

Markdown editors rarely get image pasting right, so I tackled that early for Hubble. ✅ Images paste to a file instead of base64, under FILENAME.assets/. This will be configurable ✅ Pasting the same image twice resolves to the same file name ✅ Original resolution is preserved

1 repost33 likes

This is inspired by Typora, which weirdly defaults to base64. Had to ask GPT before realizing it was configurable! I want to mirror these options, but more clearly call out with a toast where images go and how to change the setting

What keeps me from using obsidian (I’m sure this can be fixed but I’m lazy). The ideal handling imo is a pasted or web image url gets cached to an (owned) cloud url, though, i never thought through how to handle deletions. I guess file based in a cloud folder is good enough.

Yeah that's how dev.to does it! Tosses images on an AWS bucket. That would mean that... someone needs to own the hosting of course, which frightens me. Could be user configurable somehow?

when i was sketching this out for myself, thinking of how i'd make obsidian work like i wanted, I thought maybe i'd use a cloudinary api key because it handles all the conversion utility one might want for rando image urls