This function takes a list of function names and generates a markdown formatted string with links to their documentation.

fun_links(function_names, package_name = "toolkit")

Arguments

function_names

A character vector of function names.

package_name

A string specifying the name of the package (default is "toolkit").

Value

A single concatenated string containing markdown links to the function documentation.

Examples

function_list <- c("compile_rnws", "cleanFolder", "knit_rnws")
result <- fun_links(function_list, package_name = "toolkit")
cat(result)
#> [compile_rnws](https://guang-yu-zhu.github.io/toolkit/reference/compile_rnws.html), [cleanFolder](https://guang-yu-zhu.github.io/toolkit/reference/cleanFolder.html), [knit_rnws](https://guang-yu-zhu.github.io/toolkit/reference/knit_rnws.html)