From 1ca2870ce63ec91d5a88a8d32a759bf67726c637 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Tue, 28 Mar 2023 12:32:38 +0200 Subject: [PATCH 1/8] document gallery shortcode --- authortechnical.Rmd | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/authortechnical.Rmd b/authortechnical.Rmd index 5ba4166..bd90525 100644 --- a/authortechnical.Rmd +++ b/authortechnical.Rmd @@ -253,6 +253,24 @@ knitr::include_graphics("images/imgtxt.png") <!\-\-/html_preserve\-\-> +#### Image gallery + +If you want to display images in a nice gallery, where clicking on an image makes it appear much larger, + +1. In the post YAML metadata add `photogallery: yes`. +1. In the post add each gallery like so: + +```md + +{{< gallery >}} +{{< figureforgallery src="search2.png" alt="Screenshot of r-universe simple search results." >}} +{{< figureforgallery src="search3.png" alt="Screenshot of r-universe advanced search query." >}} +{{< figureforgallery src="search4.png" alt="Screenshot of r-universe advanced search results." >}} +{{< /gallery >}} +``` + +[Example post](https://ropensci.org/blog/2023/02/27/runiverse-discovering/), [source](https://github.com/ropensci/roweb3/blob/main/content/blog/2023-02-27-runiverse-discovering/index.md). + ### Images - Rmd-created {#addfigure} **File location** From 8def1fd0676a40296139cd3c1651e97c708e9d28 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Mon, 12 Jun 2023 08:04:01 +0200 Subject: [PATCH 2/8] Update authortechnical.Rmd Co-authored-by: Steffi LaZerte --- authortechnical.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authortechnical.Rmd b/authortechnical.Rmd index bd90525..147c09d 100644 --- a/authortechnical.Rmd +++ b/authortechnical.Rmd @@ -253,7 +253,7 @@ knitr::include_graphics("images/imgtxt.png") <!\-\-/html_preserve\-\-> -#### Image gallery +**Image gallery** If you want to display images in a nice gallery, where clicking on an image makes it appear much larger, From 1c1911b32d33fdd3e923bf382efc4555723da76b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Tue, 13 Jun 2023 09:57:19 +0200 Subject: [PATCH 3/8] Update authortechnical.Rmd --- authortechnical.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authortechnical.Rmd b/authortechnical.Rmd index 147c09d..c89ba84 100644 --- a/authortechnical.Rmd +++ b/authortechnical.Rmd @@ -260,14 +260,14 @@ If you want to display images in a nice gallery, where clicking on an image make 1. In the post YAML metadata add `photogallery: yes`. 1. In the post add each gallery like so: -```md +````md {{< gallery >}} {{< figureforgallery src="search2.png" alt="Screenshot of r-universe simple search results." >}} {{< figureforgallery src="search3.png" alt="Screenshot of r-universe advanced search query." >}} {{< figureforgallery src="search4.png" alt="Screenshot of r-universe advanced search results." >}} {{< /gallery >}} -``` +```` [Example post](https://ropensci.org/blog/2023/02/27/runiverse-discovering/), [source](https://github.com/ropensci/roweb3/blob/main/content/blog/2023-02-27-runiverse-discovering/index.md). From c39d873821702526f071e29009075f6c90269596 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Tue, 13 Jun 2023 10:20:58 +0200 Subject: [PATCH 4/8] escaping thanks @cderv --- authortechnical.Rmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/authortechnical.Rmd b/authortechnical.Rmd index c89ba84..5e3bfe2 100644 --- a/authortechnical.Rmd +++ b/authortechnical.Rmd @@ -260,14 +260,14 @@ If you want to display images in a nice gallery, where clicking on an image make 1. In the post YAML metadata add `photogallery: yes`. 1. In the post add each gallery like so: -````md +```{shortcodes=false} {{< gallery >}} {{< figureforgallery src="search2.png" alt="Screenshot of r-universe simple search results." >}} {{< figureforgallery src="search3.png" alt="Screenshot of r-universe advanced search query." >}} {{< figureforgallery src="search4.png" alt="Screenshot of r-universe advanced search results." >}} {{< /gallery >}} -```` +``` [Example post](https://ropensci.org/blog/2023/02/27/runiverse-discovering/), [source](https://github.com/ropensci/roweb3/blob/main/content/blog/2023-02-27-runiverse-discovering/index.md). From 7a232de1bb7a7f632726a5c9f4e45d87bd54a1fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Tue, 13 Jun 2023 11:55:36 +0200 Subject: [PATCH 5/8] thx @cderv --- authortechnical.Rmd | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/authortechnical.Rmd b/authortechnical.Rmd index 5e3bfe2..db64072 100644 --- a/authortechnical.Rmd +++ b/authortechnical.Rmd @@ -260,13 +260,12 @@ If you want to display images in a nice gallery, where clicking on an image make 1. In the post YAML metadata add `photogallery: yes`. 1. In the post add each gallery like so: -```{shortcodes=false} - -{{< gallery >}} -{{< figureforgallery src="search2.png" alt="Screenshot of r-universe simple search results." >}} -{{< figureforgallery src="search3.png" alt="Screenshot of r-universe advanced search query." >}} -{{< figureforgallery src="search4.png" alt="Screenshot of r-universe advanced search results." >}} -{{< /gallery >}} +```md +{{{< gallery >}}} +{{{< figureforgallery src="search2.png" alt="Screenshot of r-universe simple search results." >}}} +{{{< figureforgallery src="search3.png" alt="Screenshot of r-universe advanced search query." >}}} +{{{< figureforgallery src="search4.png" alt="Screenshot of r-universe advanced search results." >}}} +{{{< /gallery >}}} ``` [Example post](https://ropensci.org/blog/2023/02/27/runiverse-discovering/), [source](https://github.com/ropensci/roweb3/blob/main/content/blog/2023-02-27-runiverse-discovering/index.md). From 1ef4e87b697cac8c9f58f4a78daa46dbfb75d7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 20 Jul 2023 10:57:44 +0200 Subject: [PATCH 6/8] Update main.yml --- .github/workflows/main.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 691bbd6..90d0f3f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v2 - uses: quarto-dev/quarto-actions/setup@v2 + with: + version: pre-release - uses: r-lib/actions/setup-r@v2 - uses: r-lib/actions/setup-pandoc@v2 - uses: r-lib/actions/setup-r-dependencies@v2 From 1d767215cca80e5d73007f02d2e0318d4db08376 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Thu, 20 Jul 2023 10:58:00 +0200 Subject: [PATCH 7/8] Update pr.yml --- .github/workflows/pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 24a4041..8008619 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,8 +13,10 @@ jobs: - uses: actions/checkout@v2 - + - uses: quarto-dev/quarto-actions/setup@v2 + with: + version: pre-release - uses: r-lib/actions/setup-r@v2 From 63d51faa44b5e01a27738467c4f7cfb28739cde6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABlle=20Salmon?= Date: Fri, 10 Nov 2023 09:39:59 +0100 Subject: [PATCH 8/8] Update main.yml --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 90d0f3f..126d44b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -3,7 +3,7 @@ on: branches: main -name: Render-Book-from-main +name: Render-book-from-main jobs: quarto: