MCPcopy Index your code
hub / github.com/github/docs / createTemplate

Function createTemplate

script/update-readme.js:84–91  ·  view source on GitHub ↗
(arrayOfScripts)

Source from the content-addressed store, hash-verified

82}
83
84function createTemplate(arrayOfScripts) {
85 return arrayOfScripts
86 .map((script) => {
87 const comment = allComments[script]
88 return dedent`### [\`${script}\`](${script})\n\n${comment}\n\n---\n\n`
89 })
90 .join('\n')
91}

Callers 1

update-readme.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected