From 032cd5834f516149bba76040edb99d1f3c1d8b88 Mon Sep 17 00:00:00 2001 From: Gordon Woodhull Date: Mon, 5 May 2025 16:36:27 -0400 Subject: [PATCH] respect-user-color-scheme, code-tools source links --- renderings/_quarto.yml | 7 ++++--- renderings/altair.qmd | 4 ++++ renderings/bokeh.qmd | 4 ++++ renderings/flextable.qmd | 4 ++++ renderings/ggiraph.qmd | 4 ++++ renderings/ggplot.qmd | 4 ++++ renderings/great-tables.qmd | 4 ++++ renderings/gt.qmd | 4 ++++ renderings/heatmaply.qmd | 4 ++++ renderings/leaflet.qmd | 4 ++++ renderings/matplotlib.qmd | 4 ++++ renderings/plotly-python.qmd | 4 ++++ renderings/plotly-r.qmd | 4 ++++ renderings/plotnine.qmd | 4 ++++ renderings/pygal.qmd | 4 ++++ renderings/seaborn.qmd | 4 ++++ renderings/thematic.qmd | 4 ++++ 17 files changed, 68 insertions(+), 3 deletions(-) diff --git a/renderings/_quarto.yml b/renderings/_quarto.yml index d5474cd..3686896 100644 --- a/renderings/_quarto.yml +++ b/renderings/_quarto.yml @@ -21,11 +21,12 @@ website: - pygal.qmd - seaborn.qmd - thematic.qmd - brand: light: light-brand.yml dark: dark-brand.yml - theme: light: brand - dark: [brand, dark-fixups.scss] \ No newline at end of file + dark: [brand, dark-fixups.scss] +format: + html: + respect-user-color-scheme: true \ No newline at end of file diff --git a/renderings/altair.qmd b/renderings/altair.qmd index afc2f38..37b4f3b 100644 --- a/renderings/altair.qmd +++ b/renderings/altair.qmd @@ -2,6 +2,10 @@ title: altair engine: jupyter keep-md: true +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/altair.qmd --- diff --git a/renderings/bokeh.qmd b/renderings/bokeh.qmd index a27a86d..1c5a6cb 100644 --- a/renderings/bokeh.qmd +++ b/renderings/bokeh.qmd @@ -2,6 +2,10 @@ title: bokeh author: "anthropic claude-3-5-sonnet-latest" date: 2025-01-06 +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/bokeh.qmd --- ## Question diff --git a/renderings/flextable.qmd b/renderings/flextable.qmd index 89e8ea2..b94f931 100644 --- a/renderings/flextable.qmd +++ b/renderings/flextable.qmd @@ -3,6 +3,10 @@ title: flextable execute: echo: false warning: false +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/flextable.qmd --- ```{r} diff --git a/renderings/ggiraph.qmd b/renderings/ggiraph.qmd index bb392b4..b1f8419 100644 --- a/renderings/ggiraph.qmd +++ b/renderings/ggiraph.qmd @@ -1,5 +1,9 @@ --- title: ggiraph +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/ggiraph.qmd --- ```{r} diff --git a/renderings/ggplot.qmd b/renderings/ggplot.qmd index 2e4a470..446f394 100644 --- a/renderings/ggplot.qmd +++ b/renderings/ggplot.qmd @@ -1,6 +1,10 @@ --- title: ggplot keep-md: true +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/ggplot.qmd --- ```{r} diff --git a/renderings/great-tables.qmd b/renderings/great-tables.qmd index 5da7be7..57da970 100644 --- a/renderings/great-tables.qmd +++ b/renderings/great-tables.qmd @@ -3,6 +3,10 @@ title: great tables engine: jupyter keep-md: true ipynb-shell-interactivity: all +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/great-tables.qmd --- ```{python} diff --git a/renderings/gt.qmd b/renderings/gt.qmd index 22c5427..ba00564 100644 --- a/renderings/gt.qmd +++ b/renderings/gt.qmd @@ -3,6 +3,10 @@ title: gt execute: echo: false warning: false +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/gt.qmd --- ```{r} diff --git a/renderings/heatmaply.qmd b/renderings/heatmaply.qmd index e1f4154..06ad05a 100644 --- a/renderings/heatmaply.qmd +++ b/renderings/heatmaply.qmd @@ -1,5 +1,9 @@ --- title: heatmaply +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/heatmaply.qmd --- Note, this is not fully working - see e.g. the legend background and the labels. diff --git a/renderings/leaflet.qmd b/renderings/leaflet.qmd index ba9231c..3bd34e3 100644 --- a/renderings/leaflet.qmd +++ b/renderings/leaflet.qmd @@ -1,5 +1,9 @@ --- title: leaflet +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/leaflet.qmd --- ```{r} diff --git a/renderings/matplotlib.qmd b/renderings/matplotlib.qmd index 9d3bdaf..9a343df 100644 --- a/renderings/matplotlib.qmd +++ b/renderings/matplotlib.qmd @@ -2,6 +2,10 @@ title: matplotlib engine: jupyter keep-md: true +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/matplotlib.qmd --- ```{python} diff --git a/renderings/plotly-python.qmd b/renderings/plotly-python.qmd index c0912a8..a66a769 100644 --- a/renderings/plotly-python.qmd +++ b/renderings/plotly-python.qmd @@ -2,6 +2,10 @@ title: plotly-python author: "openai gpt-4o" date: "2024-10-23 16:52:22.554560" +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/plotly-python.qmd --- # Question diff --git a/renderings/plotly-r.qmd b/renderings/plotly-r.qmd index 04013d4..a690c95 100644 --- a/renderings/plotly-r.qmd +++ b/renderings/plotly-r.qmd @@ -3,6 +3,10 @@ title: plotly-r execute: echo: false warning: false +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/plotly-r.qmd --- ```{r} diff --git a/renderings/plotnine.qmd b/renderings/plotnine.qmd index 41270e5..07db16f 100644 --- a/renderings/plotnine.qmd +++ b/renderings/plotnine.qmd @@ -5,6 +5,10 @@ date: "2025-01-22 14:25:54.403762" engine: jupyter keep-md: true ipynb-shell-interactivity: all +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/plotnine.qmd --- ## Question diff --git a/renderings/pygal.qmd b/renderings/pygal.qmd index 83f27d6..57ebdca 100644 --- a/renderings/pygal.qmd +++ b/renderings/pygal.qmd @@ -2,6 +2,10 @@ title: pygal engine: jupyter keep-md: true +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/pygal.qmd --- ```{python} diff --git a/renderings/seaborn.qmd b/renderings/seaborn.qmd index 17ba223..7d551b4 100644 --- a/renderings/seaborn.qmd +++ b/renderings/seaborn.qmd @@ -4,6 +4,10 @@ engine: jupyter keep-md: true author: "openai gpt-4o" date: 2024-12-25 18:31:06.502548 +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/seaborn.qmd --- # How to Draw a Violin Plot of the Iris Data Using Seaborn diff --git a/renderings/thematic.qmd b/renderings/thematic.qmd index f44a31a..f4c2bbe 100644 --- a/renderings/thematic.qmd +++ b/renderings/thematic.qmd @@ -3,6 +3,10 @@ title: thematic execute: echo: false warning: false +format: + html: + code-tools: + source: https://github.com/quarto-dev/quarto-examples/blob/main/renderings/thematic.qmd --- ```{r}