X-Git-Url: https://git.cweiske.de/paste/949.git/blobdiff_plain/246b94cf696a5052f66ecbba0d31b5f10c5026e8..HEAD:/code.js?ds=sidebyside diff --git a/code.js b/code.js index 7e5407f..d9bfbe5 100644 --- a/code.js +++ b/code.js @@ -1,6 +1,7 @@ // Node type: Code -// Mode: Run Once for ALl Items +// 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");