RedditPP Mascot

RedditPP

r/Supernote_dev β€’ … β€’ u/Sparkinman

New Plugin- Tables (Let's you create tables in notes)

**Tables** β€” a plugin that draws editable tables into your Supernote notes

I got tired of ruling tables by hand, so I wrote a plugin. Lasso a rough boxyou've drawn and it becomes a proper table with the rows and columns you askfor, or place one from the sidebar. Come back to it days later, on any page,and add or remove rows, change the line weight, put a heavier rule under the first row. The drawn table is done in it's own layer (Tables), so you can write on top, and edit text without messing up the table (**layers only work on non recognition notes**)

Download + install instructions:

[https://github.com/Sparkinman/tables-supernote-plugin/releases/latest](https://github.com/Sparkinman/tables-supernote-plugin/releases/latest)

Copy the .snplg to the device, then Settings β†’ Apps β†’ Plugins β†’ Add Plugin.

**The bit that turned out to be interesting**

There's nowhere to store a table. The one field the SDK offers for attaching plugin data to something on a page is silently discarded by the firmware β€”write to it, read the element back, and it's gone.

So the plugin doesn't try. A table is nothing but its own lines: ordinary straight-line geometry, with the grid re-recognised from scratch every time the page is read. Which means it survives the note being closed, copied,renamed, or carried to another device β€” a table drawn on a Manta opens in the right place on a Nomad β€” and if you ever uninstall the plugin, what's left behind is just a table you drew.

Rows are added at the bottom so nothing you've already written moves. Columns divide the width the table already has, because a table's width is usually settled once. Tables live on their own layer, so erasing your writing can't rub out the rules.

**What it doesn't do**

No rotated tables, no per-column widths, and no move command yet (the device's own cut and paste works, but it only carries one layer, so the rules and the writing inside them can't move in one gesture). Two tables drawn very close together with columns in the same places get read as one β€” draw them with a gap.

Tested on an A5X2 and an A6X2

β€” 0