From 2c9759909e55ef40a6af20ba74380123b3266022 Mon Sep 17 00:00:00 2001 From: John Sundh Date: Tue, 17 Oct 2023 09:54:22 +0200 Subject: [PATCH] Reformat callout --- pages/quarto/quarto-2-the-basics.md | 27 ++++++++++++++++++--------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/pages/quarto/quarto-2-the-basics.md b/pages/quarto/quarto-2-the-basics.md index 37a239d5..43970036 100644 --- a/pages/quarto/quarto-2-the-basics.md +++ b/pages/quarto/quarto-2-the-basics.md @@ -160,15 +160,24 @@ header. * Explicitly add `engine: jupyter` to your YAML header and render the document. -:::{.callout-important} -## Making sure your jupyter engine is recognized -Quarto attempts to identify a suitable Jupyter engine for your system when you include Python code chunks. However, if you want to use Jupyter available in a specific conda environment (_e.g._ your `quarto-env` environment) you need to take some extra steps. Please visit [this link](https://github.com/Anaconda-Platform/nb_conda_kernels#use-with-nbconvert-voila-papermill) and follow steps 1-4. -::: - - -While this is not necessary, it can be useful to explicitly set the language for -the document, as it makes it clearer from just the YAML header what language -will be used. There are also more language-related options for Quarto, but we'll + >**Making sure your jupyter engine is recognized**
+>Quarto attempts to identify a suitable Jupyter engine for your system when you include Python code chunks. +> However, if you want to use Jupyter available in a specific conda environment (_e.g._ your `quarto-env` +> environment) you need to take some extra steps. Please visit +> [this link](https://github.com/Anaconda-Platform/nb_conda_kernels#use-with-nbconvert-voila-papermill) +> and follow steps 1-4. +> Now you can also explicitly define what Jupyter kernel to use by adding the following to your YAML header: +> ```yaml +> jupyter: +> kernelspec: +> display_name: Python 3 +> language: python +> name: conda-env-quarto-env-py +>``` + + +It can be useful to explicitly set the language for the document, as it makes it clearer from just the +YAML header what language will be used. There are also more language-related options for Quarto, but we'll save those for later in the tutorial. > **Quick recap**