MCPcopy Create free account
hub / github.com/OffchainLabs/arbitrum-docs / preprocessContent

Function preprocessContent

scripts/markdown-preprocessor.js:17–24  ·  view source on GitHub ↗

* This preprocessor uses globalVars as the source of truth to work around Vercel's caching behavior. * * NOTE ABOUT DUPLICATION: * Variables are stored in two places: * 1. In MD/MDX files: @@variable=value@@ * 2. In globalVars.js * * While this seems like duplication, it's necessary because:

({ filePath, fileContent })

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

createVariableRefPatternFunction · 0.85

Tested by

no test coverage detected