Important Options and Config for Python Devs
Parlance Labs
Cells > Front Matter > Project Level
For example, see the reference docs:
There is overlap! See echo:false
in cell options, vs execute: echo:false
in front matter.
_metadata.yml
, which gets merged._quarto.yml
into multiple files using metadata-files: [config.yml]
.
Use the #|
syntax to specify cell options:
eval
: evaluate code cellsecho
: show/hide code cellsoutput
: show/hide cell outputinclude
: show/hide cell input & output (catch-all)See more.
Look at the source
I looked at this page when making this slide.
As an example, let’s consider echo:false
, this can also be in front matter:
To use Jupyter Cache you’ll want to first install the jupyter-cache
package:
Platform | Command |
---|---|
Mac/Linux | |
Windows |
To enable the cache for a document, add the cache
option. For example:
You can also specify caching at the project level in the _quarto.yml
file:
And also at a cell level:
See execution options.
.qmd
with VSCode if not much code.execute: false
in front matter.!
.Use GitHub links:
You can also set a specific branch, ex: repo-branch: master
.
raw
cell! (Show you).qmd
files which allows you to get the best of both worlds.quarto new
and add a notebook.metadata.yml
file with configuration.