Skip to content

Commit

Permalink
Change output file name to x-qmd-app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Oct 10, 2023
1 parent ecbcfc0 commit 880565f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/execute/jupyter/jupyter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,7 +471,7 @@ export const jupyterEngine: ExecutionEngine = {

let running = false;
const [_dir, stem] = dirAndStem(options.input);
const appFile = `${stem}-app.py`;
const appFile = `${stem}-qmd-app.py`;
const cmd = [
...await pythonExec(),
"-m",
Expand Down
2 changes: 1 addition & 1 deletion src/resources/filters/quarto-pre/shiny.lua
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function server_shiny()
file:close()

-- Convert the json file to myfile-app.py by calling `shiny convert-cells`.
appOutfile = pandoc.path.split_extension(quarto.doc.input_file) .. "-app.py"
appOutfile = pandoc.path.split_extension(quarto.doc.input_file) .. "-qmd-app.py"
callPythonShiny(
{ "cells-to-app", codeCellsOutfile, appOutfile }
)
Expand Down

0 comments on commit 880565f

Please sign in to comment.