Skip to contents

A paste function that can be used with purrr::reduce to build up nested documentation items

Usage

paste_reduce_ul(x, y, sep = "\n - ")

Arguments

x

Character

y

Character

sep

Character

Value

Character

Examples


text_a <- "hello"
text_b <- "world"
paste_reduce_ul(text_a,text_b)
#> [1] "hello\n - world"