generate_markdown_for_member {condensr}R Documentation

Generate markdown for staff member

Description

Generates the image, short description and linking-out buttons for use in a list of staff belonging to a group.

Usage

generate_markdown_for_member(member, extension = "png")

Arguments

member

An object of class staff_member.

extension

Extension of the image file. Don't include the .

Value

No return value, function will output text directly into markdown document using cat.

Examples

example_staff_member <- staff_member(
    id = "example-id",
    name = "Example Name",
    description = "Example description for example staff member.",
    external_link = "http://www.example.com/",
    internal_link = FALSE
)
generate_markdown_for_member(example_staff_member)


[Package condensr version 1.0.0 Index]