Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions news/changelog-1.2.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
## New In This Patch Release

- Fixes an issue using Quarto with the most recent version of jupyter_client (version 8.0.0 and later)
- Fix QUARTO_PANDOC variable not being respected in update-pandoc process. This
would cause errors where pandoc is not bundled with Quarto, such as in the
conda package.

## Fixed In Previous Patch Releases

Expand Down
4 changes: 3 additions & 1 deletion package/src/common/update-pandoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,10 @@ async function writePandocTemplates(config: Configuration) {
}

async function readTemplate(format: string, bin: string): Promise<string> {
const pandoc = Deno.env.get("QUARTO_PANDOC") ||
join(bin, "tools", "pandoc");
const result = await execProcess({
cmd: [join(bin, "tools", "pandoc"), "--print-default-template", format],
cmd: [pandoc, "--print-default-template", format],
stdout: "piped",
stderr: "piped",
});
Expand Down