Standalone build of the <supernote-viewer> custom element from the
supernote-obsidian-plugin project
(issue #183) - runs entirely in
this page, with no Obsidian involved. It opens the bundled rtr.note sample automatically; pick a
.note file from your Supernote device to replace it.
Build the bundle first: this page loads
supernote-viewer.js from ../dist/ (serving the project
root), ./dist/, or next to this page (serving this directory
on its own, bundle copied in) - whichever exists. It isn't checked into
the repo: run npm run build:webcomponent from the project root, then
serve over http(s) (module scripts can't load from a file:// URL) -
e.g. npx serve . from the project root, then open
/demo/.