supernote-obsidian-plugin icon indicating copy to clipboard operation
supernote-obsidian-plugin copied to clipboard

Add setting for max image width when viewing .note files

Open james-xli opened this issue 3 months ago • 7 comments

Per issue #22, I took a stab at adding a max px width setting in the settings pane:

Screenshot 2024-05-12 at 11 18 09 PM

Set to 500 px as shown above, my test note looks like this:

Screenshot 2024-05-12 at 11 18 36 PM

Notes are still responsive to window size below the max width.

The default value is 1400px, which is nearly the max width of a note (both A5X and A6X2) in portrait orientation. This is the same as the preexisting behavior. That same test note looks like this at the max 1400px width:

Screenshot 2024-05-12 at 11 18 45 PM

I am pretty new to contributing on Github so I would like any and all feedback, thanks!

james-xli avatar May 13 '24 05:05 james-xli