Skip to content

Commit ccf3845

Browse files
committed
Add multiple language support.
1 parent d856bec commit ccf3845

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

site/guidelines-authors.qmd

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,13 @@ There are mainly two files you are expected to modify in your repository for wri
121121

122122
The main body of your paper (starting with the *Introduction* section) should be written in the `template-computo-LANG.qmd` following the formatting suggestions therein.
123123

124-
::: {.callout-note title="Local compilation"}
124+
::: {.callout-tip title="Multiple languages"}
125+
Quarto relies on a specific engine to compile your document. By default, that engine detects code blocks, executes them and paste the result below the code block in the rendered document.
126+
127+
It is possible to use multiple languages within the same document (e.g. R and Python or Python and Julia, etc.) provided that you use the **knitr** engine. Indeed, [**knitr**](https://yihui.org/knitr/) is an R package that is able to parse code blocks from many languages. This can be achieved by specifying `engine: knitr` in your document metadata. The default engine binding that Quarto uses is detailed here: <https://quarto.org/docs/computations/execution-options.html#engine-binding>.
128+
:::
129+
130+
::: {.callout-caution title="Local compilation"}
125131
Make sure that you are able to build your manuscript as a standard notebook on your system before proceeding to the next step.
126132
:::
127133

0 commit comments

Comments
 (0)