Function
transformMan
(src, { data, unified, remarkParse, remarkMan })
Source from the content-addressed store, hash-verified
| 279 | } |
| 280 | |
| 281 | const transformMan = (src, { data, unified, remarkParse, remarkMan }) => unified() |
| 282 | .use(remarkParse) |
| 283 | .use(remarkMan, { version: `NPM@${version}` }) |
| 284 | .processSync(`# ${data.title}(${data.section}) - ${data.description}\n\n${src}`) |
| 285 | .toString() |
| 286 | |
| 287 | const manPath = (name, { data }) => join(`man${data.section}`, `${name}.${data.section}`) |
| 288 | |
Callers
nothing calls this directly
Tested by
no test coverage detected