Skip to content
Merged
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
7 changes: 7 additions & 0 deletions docs/projects/scripts.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,13 @@ end
```
:::

### Advanced: large input and output file lists

In some execution environments, the maximum size of an environment might be limited. In this case, a pre- or post-render script invocation might fail when Quarto attempts to build the appropriate environment variables.

In such scenarios, you can declare the environment variable `QUARTO_USE_FILE_FOR_PROJECT_INPUT_FILES` (respectively, `QUARTO_USE_FILE_FOR_PROJECT_OUTPUT_FILES`) to direct Quarto to use the
declared file as the destination of the file list that would have been written in `QUARTO_PROJECT_INPUT_FILES` (respectively, `QUARTO_PROJECT_OUTPUT_FILES`).

## Deno Scripts {#deno-scripts}

If you want to create project scripts with TypeScript, `quarto run` enables you to use the [Deno](https://deno.land/) TypeScript interpreter bundled with Quarto. This interpreter also includes much of Deno's [standard library](https://docs.deno.com/runtime/manual/basics/standard_library). For example, to use the Deno YAML parser you would do this:
Expand Down