({code, params}: MarkdownPage, resolvers: Resolvers)
| 472 | } |
| 473 | |
| 474 | function getCode({code, params}: MarkdownPage, resolvers: Resolvers): Map<string, string> { |
| 475 | return new Map(code.map((code) => [code.id, transpileCode(code, resolvers, params)])); |
| 476 | } |
| 477 | |
| 478 | // Including the file has as a comment ensures that the code changes when a |
| 479 | // directly-referenced file changes, triggering re-evaluation. Note that when a |
no test coverage detected