following up on this, the change above worked in the draft itself, however altering the code to use my row separator introduced a new issue where the very first character was a short dash, followed by x many ‘normal’ dashes (i had experimented with various numbers of dashes and also tried starting with a space character) causing the string of characters to be printed rather than a table. finally i swapped the dashes for equal signs and that worked like a charm.
i now have a working script that inserts a multimarkdown table into the current document. the change that worked was changing line 5 in the script:
let div = “|:–”;
let div = “| ===”;
this is great as i had previously had the other create mmd table in the script repo installed and it never quite worked (for a similar reason) but I never got around to troubleshooting it. this script is much cleaner (and doesn’t introduce a delay after inserting as the other one does, a good 5 seconds have to pass before the app is responsive after using it to insert a table) and now it works perfectly.