MCPcopy Create free account
hub / github.com/DavidWells/analytics / renderExample

Function renderExample

scripts/docs.js:860–867  ·  view source on GitHub ↗
(example)

Source from the content-addressed store, hash-verified

858}
859
860function renderExample(example) {
861 return `**Example**
862
863\`\`\`js
864${example.replace(/^\s+|\s+$/g, '')}
865\`\`\`
866`
867}
868
869const rootDir = path.join(__dirname, '..')
870const markdownFiles = [

Callers 1

formatExampleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected