Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
branches:
main

name: Render-Book-from-main
name: Render-book-from-main

jobs:
quarto:
Expand All @@ -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
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
17 changes: 17 additions & 0 deletions authortechnical.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,23 @@ knitr::include_graphics("images/imgtxt.png")
<code>&lt;!\-\-/html_preserve\-\-></code>


**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**
Expand Down