From 27e69a304d9f5dec895775811d4ca4815bb9a5ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micka=C3=ABl=20Canouil?= <8896044+mcanouil@users.noreply.github.com> Date: Fri, 31 May 2024 14:03:54 +0200 Subject: [PATCH] refacror: use about as format resource --- .github/workflows/deploy.yml | 2 +- README.md | 6 +----- _extensions/coeos/{about.qmd => _about.qmd} | 0 _extensions/coeos/_extension.yml | 2 ++ template.qmd | 2 +- 5 files changed, 5 insertions(+), 7 deletions(-) rename _extensions/coeos/{about.qmd => _about.qmd} (100%) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index e2c62c4..fb76dbe 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,7 +43,7 @@ jobs: - uses: quarto-dev/quarto-actions/setup@v2 with: version: pre-release - tinytex: true + tinytex: false - name: Render Quarto Project shell: bash diff --git a/README.md b/README.md index 348ce89..dc1154d 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This is a repository for `Quarto` `revealjs` template. -![Screenshot of a dark grey title slide with a logo in the top right corner, a block left aligned in the center of the slide with a title in white, a subtitle in light grey, an horizontal rule in white, the author in white, institute in italics and light grey, and the full literal date. The footer of the slide includes from left to right, a menu icon, author and license, and the slide number.](template.png) +[![Screenshot of a dark grey title slide with a logo in the top right corner, a block left aligned in the center of the slide with a title in white, a subtitle in light grey, an horizontal rule in white, the author in white, institute in italics and light grey, and the full literal date. The footer of the slide includes from left to right, a menu icon, author and license, and the slide number.](template.png)](https://m.canouil.dev/quarto-revealjs-coeos/) ## Installation @@ -20,7 +20,3 @@ This [Quarto](quarto.org) extension can be installed/used using the following co ```bash quarto use template mcanouil/quarto-revealjs-coeos ``` - -## Documentation - -[`Quarto` documentation on `revealjs` format.](https://quarto.org/docs/presentations/revealjs/) diff --git a/_extensions/coeos/about.qmd b/_extensions/coeos/_about.qmd similarity index 100% rename from _extensions/coeos/about.qmd rename to _extensions/coeos/_about.qmd diff --git a/_extensions/coeos/_extension.yml b/_extensions/coeos/_extension.yml index 63cf32d..e9d5210 100644 --- a/_extensions/coeos/_extension.yml +++ b/_extensions/coeos/_extension.yml @@ -16,3 +16,5 @@ contributes: include-in-header: - text: | + format-resources: + - _about.qmd diff --git a/template.qmd b/template.qmd index 57532c6..2832189 100644 --- a/template.qmd +++ b/template.qmd @@ -49,4 +49,4 @@ ggplot(mtcars, aes(wt, mpg)) + geom_point() With only text -{{< include _extensions/mcanouil/coeos/about.qmd >}} +{{< include _about.qmd >}}