Skip to content

Commit

Permalink
Add documentation for fix in quarto-dev/quarto-cli#10828 (#1388)
Browse files Browse the repository at this point in the history
* add docs for the fix described in quarto-dev/quarto-cli#11098

* put docs in the right place
  • Loading branch information
cscheid authored Oct 17, 2024
1 parent a21219e commit 3848777
Showing 1 changed file with 7 additions and 0 deletions.
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

0 comments on commit 3848777

Please sign in to comment.