Learn R Programming

pagedown (version 0.1)

business_card: Create business cards

Description

This output format is based on an example in the Github repo https://github.com/RelaxedJS/ReLaXed-examples. See https://pagedown.rbind.io/business-card/ for an example.

Usage

business_card(logo = NULL, width = "2in", height = "3in", googlefonts = "Montserrat", 
    mainfont = googlefonts)

Arguments

logo

Path or URL to a logo.

width, height

Width and height of the card.

googlefonts

Names of Google fonts to be loaded on the card page.

mainfont

Names of fonts to be used for the body text of the card.

Value

An R Markdown output format.

Examples

Run this code
# NOT RUN {
pagedown::business_card(googlefonts = "Lato")
# }

Run the code above in your browser using DataLab