Generate markdown for staff member
generate_markdown_for_member.Rd
Generates the image, short description and linking-out buttons for use in a list of staff belonging to a group.
Arguments
- member
An object of class
staff_member
.- extension
Extension of the image file. Don't include the .
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)
#> <div class='col'>
#>
#> <div class='personimg'> {fig-alt='Example Name'} </div>
#>
#> ### Example Name
#>
#> Example description for example staff member.
#>
#> </div>
#>