Automatically generating DT annotation document from PDF annotations

@chrillek
I have used:

function performsmartrule(records) {
	const app = Application("DEVONthink 3");
	app.summarizeHighlightsOf({records: records,to: "markdown"})
}

Still, I did not get a document or documents with the summarized highlights. The tags update, but I get nothing else.