Programmatic Manipulation of Quarto Documents for Teaching

Colin Rundel Speaker
Duke University
 
Tuesday, Aug 6: 2:30 PM - 2:55 PM
Invited Paper Session 
Oregon Convention Center 
In this talk we will discuss the use of the parsermd package for the programmatic manipulation of Quarto documents. As the name implies the parsermd package was originally developed for the parsing and manipulation of RMarkdown documents, but we have recently worked to expand this functionality to support Quarto documents and their specific features (e.g. fenced divs, yaml chunk options, shortcodes, etc.). We will briefly review the structure of a typical Quarto document and how this is then represented within R once parsed as an abstract syntax tree (AST). The remainder of the talk will then focus on practical usage examples of these tools for teaching with Quarto, including automated feedback and cleaning, document restructuring, and others time permitting.