@@ -43,9 +43,6 @@ import {
4343 JupyterNotebook ,
4444 JupyterWidgetDependencies ,
4545} from "../../core/jupyter/types.ts" ;
46- import {
47- includesForJupyterWidgetDependencies ,
48- } from "../../core/jupyter/widgets.ts" ;
4946
5047import { RenderOptions , RenderResultFile } from "../../command/render/types.ts" ;
5148import {
@@ -73,7 +70,6 @@ interface JupyterTargetData {
7370import { quartoAPI as quarto } from "../../core/quarto-api.ts" ;
7471import { postProcessRestorePreservedHtml } from "../engine-shared.ts" ;
7572import { MappedString } from "../../core/mapped-text.ts" ;
76- import { breakQuartoMd } from "../../core/lib/break-quarto-md.ts" ;
7773import { ProjectContext } from "../../project/types.ts" ;
7874import { isQmdFile } from "../qmd.ts" ;
7975import { kJupyterPercentScriptExtensions } from "./percent.ts" ;
@@ -698,7 +694,7 @@ async function disableDaemonForNotebook(target: ExecutionTarget) {
698694 "rm" ,
699695 "rmdir" ,
700696 ] ;
701- const nb = await breakQuartoMd ( target . markdown ) ;
697+ const nb = await quarto . markdown . breakQuartoMd ( target . markdown ) ;
702698 for ( const cell of nb . cells ) {
703699 if ( ld . isObject ( cell . cell_type ) ) {
704700 const language = ( cell . cell_type as { language : string } ) . language ;
@@ -744,7 +740,7 @@ export function executeResultIncludes(
744740) : PandocIncludes | undefined {
745741 if ( widgetDependencies ) {
746742 const includes : PandocIncludes = { } ;
747- const includeFiles = includesForJupyterWidgetDependencies (
743+ const includeFiles = quarto . jupyter . widgetDependencyIncludes (
748744 [ widgetDependencies ] ,
749745 tempDir ,
750746 ) ;
0 commit comments