(file: MDFile, options: CompileOptions)
| 41 | } |
| 42 | |
| 43 | export async function compileJS(file: MDFile, options: CompileOptions) { |
| 44 | const r = await compile(file, options) |
| 45 | return await prettier.format(String(r), { |
| 46 | semi: false, |
| 47 | parser: "babel", |
| 48 | }) |
| 49 | } |
| 50 | |
| 51 | export async function parsedJS(file: MDFile, options: CompileOptions) { |
| 52 | const result = await compile(file, { |
no outgoing calls
searching dependent graphs…