Replace

id: **
folderPath: ""
title: "{{folderName}}"
showTitle: false
depth: 10
style: list
includeTypes:
 - folder
 - markdown
disableFileTag: false
sortBy: modified
sortByAsc: false
showEmptyFolders: true
onlyIncludeSubfolders: false
storeFolderCondition: false
showFolderNotes: true
disableCollapseIcon: true

with a markdown list of the files under the folder, passing each of the above variables in as parameters for the function