X-Git-Url: https://git.cweiske.de/paste/949.git/blobdiff_plain/b98a1561027c6d9c36c3099fe3b92c6ccf26be5d..HEAD:/code.js diff --git a/code.js b/code.js index bd158e5..d9bfbe5 100644 --- a/code.js +++ b/code.js @@ -1,6 +1,7 @@ // Node type: Code // Mode: Run Once for All Items // Language: Javascript +// Source: https://community.n8n.io/t/create-markdown-file-from-an-array-of-strings/122148/2 const items = $input.all(); const combinedText = items.map((item) => item?.json.data).join("\n\n");