Skip to content

Commit

Permalink
Merge pull request #37 from NBISweden/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
johnne authored May 27, 2024
2 parents 7df48cc + 55b3b03 commit b684dd1
Show file tree
Hide file tree
Showing 46 changed files with 8,754 additions and 1,779 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,9 @@

This is the repository for the Snakemake BYOC workshop to host lecture slides.

The workshop website can be found here: https://uppsala.instructure.com/courses/70024
The workshop website can be found here: https://uppsala.instructure.com/courses/93486

Previous workshop websites:
August 2022: https://uppsala.instructure.com/courses/70024
September 2021: https://uppsala.instructure.com/courses/52153
October 2020: https://nbisweden.github.io/workshop-archive/workshop-snakemake-byoc/2020-10-07/
25 changes: 18 additions & 7 deletions lectures/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,23 +11,34 @@ conda activate lectures

## Rendering

### Rmarkdown

Lectures in **Rmarkdown** format can be rendered using the following from
the command line:

```bash
Rscript -e 'rmarkdown::render(<Rmd-file>, "xaringan::moon_reader")'
```

The HTML files can be converted to PDF with this command:
### revealjs lectures

Lectures in subfolders `smkprofile` and `wc-schema` are created with
[revealjs](https://revealjs.com) and can be rendered as follows:

```bash
Rscript -e 'library(webshot); webshot(<HTML>, <PDF>)'
Rscript -e 'rmarkdown::render(<Rmd-file>)'
```

### revealjs lectures
### Quarto lectures

Lectures in subfolders `smkprofile` and `wc-schema` are created with [revealjs](https://revealjs.com) and can be rendered as follows:
```
quarto render <qmd-file>
```

```bash
Rscript -e 'rmarkdown::render(<Rmd-file>)'
```
## HTML to PDF conversion

For both Rmarkdown- and quarto-based lectures in HTML format, the tool
`https://github.com/astefanutti/decktape` was tested.

Note that for Rmarkdown-based lecture slides, the `template.css` has to
be placed in the same directory as the Rmd- and HTML-file.
Loading

0 comments on commit b684dd1

Please sign in to comment.