generate_markdown_for_publications {condensr}R Documentation

Generate markdown for publications

Description

Generate markdown block for codensr publications.

Usage

generate_markdown_for_publications(publication)

Arguments

publication

A condensr publication object. If a link is available (i.e. !is.na(publication$link)), then a hyperlink will be inserted.

Value

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

Examples

example_publication <- publication(
    title = "Joe's Blogging Paper",
    related_staff = c("joe-bloggs"),
    link = NA,
    citation = "Bloggs, J., Bloggy, Y. (2019),
         The power of blogging, Australian Journal of Bloggs, 43: 149-155.",
    date = as.Date("2019-01-01")
)
generate_markdown_for_publications(example_publication)


[Package condensr version 1.0.0 Index]