Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
860
function
renderExample(example) {
861
return
`**Example**
862
863
\`\`\`js
864
${example.replace(/^\s+|\s+$/g,
''
)}
865
\`\`\`
866
`
867
}
868
869
const
rootDir = path.join(__dirname,
'..'
)
870
const
markdownFiles = [
Callers
1
formatExample
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected