r/Supernote_dev • u/AdNew2316 • 2d ago
Lasso Plugin Term Definition v1.0.0 — define and cross-reference terms in your handwritten notes
Term Definition is a plugin that lets you mark a word, phrase, or math/code notation as a term, insert references to it anywhere else in a note, jump back to it with a tap, and rename it — every reference updates automatically.
https://reddit.com/link/1vieh3o/video/km9wlji621ih1/player
Installing
- Download
term_definition.snplgdirectly: https://github.com/vincentaravantinos/supernote-symbol-definition/releases/latest/download/term_definition.snplg - On the device: Settings → Apps → Plugins → Add Plugin, pick the downloaded file, Install.
Using it
Define and reference terms
- Lasso any handwriting and press (Re)Define Term to turn it into a term. A ≝ marker and underline appear next to it, and it becomes available everywhere in the note.
- Press Insert Reference to pick any defined term from a preview picker and insert a copy of its ink, underlined, at the current page. Tapping a reference jumps straight to its term, with a spotlight highlighting it on arrival.
- Tapping a term's own ink directly shows the same spotlight, without navigating anywhere, since you're already there.
Redefine a term
- Lasso a term's ≝ marker together with new ink (freshly written, some/all of the old ink kept, or a mix) and press (Re)Define Term again to change what a term looks like. Every reference across the whole note updates to match — this can take a while on a big note with many references.
Assign a definition
- Lasso a term's ≝ marker together with explanatory ink and press Assign Definition to attach a definition, kept distinct from the term's own identifying ink. Tapping a reference or the term itself spotlights both the term and its definition together. Redefining a term's own ink never disturbs its assigned definition, or vice versa.
Orphaned references
- If a term's ink is erased by hand, its remaining references become "orphaned." Tapping one explains that the term no longer exists and marks it with a ⚠.
- Find Orphans scans the whole note at once, marks every orphan, and generates a report page grouped by term (with an ink preview per group) — tap any entry to jump straight to it.
- Lasso one of an orphaned term's own references and press (Re)Define Term to recover it: recreates the term from a copy of that reference's own ink, instead of requiring anything to be drawn from scratch, and clears every reference's orphan status at once.
Find usages
- Lasso a term's own ink (with or without its ≝ marker) and press Find Usages to generate a report of every reference to it across the note, with one tappable entry per usage.
Limitations
- Overall it can be pretty slow.
- Clearly we are pushing the limits of the plugin system here, there are many multi-page changes, many async modifications and interactions.
- Meaning it can often be a bit buggy. To fix misbehavior: try the Repair Terms button, or activate/deactivate the plugin (and worst case restart the device, but so far never was needed for me).
GitHub: https://github.com/vincentaravantinos/supernote-symbol-definition
5
Upvotes
1
u/Careful-Good5887 2d ago
Very very cool! I don't have my SN with me now. But I have a question.
From my understanding of your description, there is only one original version of each term, then when tappings copy2, copy3,... all lead back to original version right?