Python

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.