Ability to paste multiple portals / API support for [[REM_ID, ((REM_ID, ##REM_ID

According to Ability to create all content via API [and RemNote flavored markdown] (paste syntax) portals can be created/pasted with ((REM_ID.

Currently you can only paste exactly this text to create a single portal at a time. Multiple portals are not recognized.

I have magic query thingy that outputs a list of Rem Ids that I’d like to put back into RemNote again as Portals, i.e. I want to be able to paste

((REM_ID1
((REM_ID2
((REM_ID3

Pasting this should result in a portal on each rem or alternatively in one segmented portal.

(Alternativly I could generate some code to add them programmatically via backend API or make a Plugin, but pasting seems the most natural.) Looks like this does not work. It actually seems like pasting is more powerful than the API here: You can paste [[REM_ID to create a reference, but it will just be text when inserting this via API.