File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,7 @@ import { figuresDir, inputFilesDir } from "../render.ts";
143143import { lines } from "../text.ts" ;
144144import { readYamlFromMarkdown } from "../yaml.ts" ;
145145import { languagesInMarkdown } from "../../execute/engine-shared.ts" ;
146+ import { pathWithForwardSlashes } from "../path.ts" ;
146147
147148export const kJupyterNotebookExtensions = [
148149 ".ipynb" ,
@@ -574,9 +575,9 @@ export function jupyterAssets(input: string, to?: string) {
574575 const base_dir = dirname ( input ) ;
575576 return {
576577 base_dir,
577- files_dir : relative ( base_dir , files_dir ) ,
578- figures_dir : relative ( base_dir , figures_dir ) ,
579- supporting_dir : relative ( base_dir , supporting_dir ) ,
578+ files_dir : pathWithForwardSlashes ( relative ( base_dir , files_dir ) ) ,
579+ figures_dir : pathWithForwardSlashes ( relative ( base_dir , figures_dir ) ) ,
580+ supporting_dir : pathWithForwardSlashes ( relative ( base_dir , supporting_dir ) ) ,
580581 } ;
581582}
582583
You can’t perform that action at this time.
0 commit comments