Skip to content

Commit 60d4c56

Browse files
committed
Merge branch 'main' into improve/refactor-project-context
2 parents ec454ad + 626cebc commit 60d4c56

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

dev-docs/internals-guide/render.qmd

+24-3
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,9 @@ Read the [engines documentation](./engines/index.qmd) for more.
2727
1. `knitr` takes Markdown as input
2828
1. Run Pandoc
2929

30+
As an additional option, both engines can take script files formatted in a particular way
31+
instead of a regular input. See [Render Scripts](https://quarto.org/docs/computations/render-scripts.html).
32+
3033
## Pandoc: Quarto's filter chain, user filters
3134

3235
Quarto choreographs a large number of Pandoc parameters and settings.
@@ -38,7 +41,7 @@ Read the [Pandoc directory](./pandoc/index.qmd) for more.
3841
1. Determine output format(s)
3942
1. Run Pandoc (one or more times per .qmd file)
4043
1. Use Quarto's custom `.qmd` reader to support Quarto-specific Markdown syntax
41-
1. Run Quarto's filter chain and user filters to control the generation of the documentation
44+
1. Run Quarto's filter chain and user filters to control the generation of the document
4245

4346
## TypeScript cell handlers and includes
4447

@@ -51,7 +54,7 @@ Include shortcodes, mermaid, dot, ojs.
5154
1. Run other typescript-specific cell handlers
5255
1. Run Pandoc
5356
1. Use Quarto's custom `.qmd` reader to support Quarto-specific Markdown syntax
54-
1. Run Quarto's filter chain and user filters to control the generation of the documentation
57+
1. Run Quarto's filter chain and user filters to control the generation of the document
5558

5659
## Postprocessors
5760

@@ -66,8 +69,26 @@ See the [Postprocessors documentation](./postprocessors/index.qmd) for more.
6669
1. Run other typescript-specific cell handlers
6770
1. Run Pandoc
6871
1. Use Quarto's custom `.qmd` reader to support Quarto-specific Markdown syntax
69-
1. Run Quarto's filter chain and user filters to control the generation of the documentation
72+
1. Run Quarto's filter chain and user filters to control the generation of the document
73+
1. Post-process outputs
74+
75+
## Output Recipes
76+
77+
Formats like PDF, Typst, and Beamer need an additional step after the postprocessors; this step
78+
is handled in "Output Recipes".
79+
This is a simple step that either calls the correct binary (`latexmk`, `pdflatex`, `typst` etc) or
80+
does no work (in formats like `html` or `revealjs`)
81+
82+
1. Expand include shortcodes in .qmd inputs
83+
1. Execute code cells from engine
84+
1. `jupyter` takes both `.ipynb` and `.qmd` files as input.
85+
1. `knitr` takes Markdown as input
86+
1. Run other typescript-specific cell handlers
87+
1. Run Pandoc
88+
1. Use Quarto's custom `.qmd` reader to support Quarto-specific Markdown syntax
89+
1. Run Quarto's filter chain and user filters to control the generation of the document
7090
1. Post-process outputs
91+
1. Generate final output file from output recipe
7192

7293
## Projects vs single-file renders
7394

0 commit comments

Comments
 (0)