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

Add additional settings to show/hide elements when viewing .note files

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

This PR proposes adding a few simple on/off settings for viewing .note files. I find these nice to have for a cleaner viewing experience, especially if I just want to look through many pages and am not planning to do much exporting.

All three of these settings look and work fine when used independently of each other in different combinations.

I haven't actually tested in combination with #24, but I expect these changes to work fine together.

Defaults/current behavior

The default settings shown below preserve the current behavior of the plugin:

image

My test note looks like this:

image

Hiding the table of contents and page number headings

Switching "Show table of contents" OFF removes the table of contents and the page number headings:

image

image

Hiding export buttons

Switching "Show export buttons" OFF hides the buttons:

image

image

Collapsing recognized text

Finally, switching "Collapse recognized text" ON tucks the recognized text under an HTML details element:

image

image

Clicking on that element expands it to show the text:

image


Thanks for considering these unsolicited changes!

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