Jupyter

Creating self-contained executable Python scripts for rendering Quarto documents using the Jupyter engine

How to create a self-contained executable Python script, which declares the dependencies for the virtual environment for rendering Quarto documents using the Jupyter engine. This allows non-technical users to render Quarto documents using the Jupyter engine without having to manage the virtual environment themselves.

Creating tutorial worksheets: Quarto profiles for the win!

How to create tutorial worksheets, i.e., a questions document and solutions document from the same Quarto document using Quarto profiles.

Running the nbstata Jupyter kernel within a uv virtual environment

How to setup a uv virtual environment to run the nbstata Jupyter kernel.

Creating R, Python, Stata, and Julia tutorial worksheets (with and without solutions) using Quarto

How to programmatically include conditional content for several Quarto engines (knitr, jupyter: python3, jupyter: nbstata, and engine: julia) using parameters or environment variables to toggle inline code to write Markdown in the Quarto documents. I use this to write exercise/tutorial documents in which a single Quarto document is used to output both the questions and solutions documents.

Creating effectively multi-engine Quarto documents using Quarto's embed shortcode

Have you ever wanted to include different language engines within the same Quarto document such that the code chunks are executed when the document is rendered? I describe how to achieve this using Quarto's embed shortcode.