From d706078a4f382603e80b1f6515b8ad20124e9cc8 Mon Sep 17 00:00:00 2001 From: Pascal Burkhard Date: Sat, 28 Sep 2024 08:39:13 +0200 Subject: [PATCH] Add test example of code with filename --- vignettes/test/quarto-features.qmd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/vignettes/test/quarto-features.qmd b/vignettes/test/quarto-features.qmd index 7969c81c8..aac5bea2d 100644 --- a/vignettes/test/quarto-features.qmd +++ b/vignettes/test/quarto-features.qmd @@ -25,6 +25,14 @@ penguins |> # <1> 1. Take `penguins`, and then, 2. add new columns for the bill ratio and bill area. +## Code filename + +```{.python filename="matplotlib.py"} +import matplotlib.pyplot as plt +plt.plot([1,23,2,4]) +plt.show() +``` + ## Diagrams ```{mermaid}