Default Configuration

When rendered, the ripper extension will extract the code blocks and create separate script files for each programming language. This example shows the extension’s default behaviors given the configuration below to a Quarto document with R and Python code blocks.

---
title: "Minimal Example"
format: html
filters:
  - ripper
---

R Code

x <- 1:10
mean(x)
[1] 5.5

Python Code

numbers = list(range(1, 11))
print(sum(numbers) / len(numbers))
5.5

Script files

The code for this document can be found here: