Development would have to assess implementing this request, noting it’s the first of its kind.
On the other hand, it would be possible to script it.
Here’s a simple example producing a Markdown file…
tell application id "DNtp"
set sel to selection
if sel ≠ {} then
set itemList to {}
set {recNames, RecURLs} to {name without extension, URL} of (selected records)
repeat with incr from 1 to (count recNames)
if item incr of RecURLs ≠ "" then
copy (incr & ". [" & item incr of recNames & "](" & item incr of RecURLs & ") " & linefeed as string) to end of itemList
else
copy (incr & ". " & item incr of recNames & " " & linefeed as string) to end of itemList
end if
end repeat
create record with {name:incr & " selected records" as string, type:markdown, content:itemList as string} in current group
end if
--return itemList
end tell
Using a script to generate a Table-of-Contents allows for further customizations
For example, my ToCs for projects have sections for
Project Notes
Active Tasks
Pending Tasks
Completed Tasks
I’d like to second the request slightly amended. I’ve often wished I could export a select columns of a section to say, csv or tab-delimited, and etc for processing by other applications. For example, I’d like to take a hundred URLs into JMP, a stat package, for textual analysis, or analysis of domains.
Thanks for the JSON suggestion, but not all I do is stat - related - some times its as simple as exporting citations and the (hopefully) embedded links. Maybe I’ll see if Excel can be used.