Skip to content

pharmaR/rvalhub-quarto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

R Validation Hub quarto Theme

preview.webm

format: rvalhub-revealjs+light (or default alias, rvalhub-revealjs) image

format: rvalhub-revealjs+dark image

Getting Started

Installing

After creating your new quarto presentation, you can add the R Validation Hub theme by following a simple, two-step installation process.

quarto add pharmaR/rvalhub-quarto
alternatively install from an archive url
quarto add https://github.com/pharmaR/rvalhub-quarto/archive/refs/heads/main.zip

After installing, your project should contain a _extensions/pharmaR/rvalhub directory.

Note: GitHub Organization Case Sensitivity
Although quarto will gladly install the extension using a case-insensitive GitHub org, assets used throughout the extension will use case-sensitive file paths. Be sure to use the appropriate casing.

Using

After you've installed the extension, you need to use one of the provided formats. This can be provided either in your _quarto.yml file or in the front matter of a standalone quarto document.

_quarto.yml

format: rvalhub-revealjs

As well as the provided default, you can specify either a light or dark theme using the format variants, rvalhub-revealjs+light and rvalhub-revealjs+dark.

Example

Here is the source code for a minimal sample document: example.qmd.

After cloning this repo, you can test it out by running

quarto preview example.qmd

Starting a new quarto project

Using quarto from the command line

  1. Create a new quarto project
quarto create  # follow prompts to start a default project

change to new project directory

  1. Add quarto format extension
quarto add pharmaR/rvalhub-quarto
  1. Update your _quarto.yml file
+ format: rvalhub-revealjs

or use the dark variant by using:

+ format: rvalhub-revealjs+dark