Skip to contents

prepare_links constructs formatted links from link and text fields.

render_links detects and formats text-embedded links.

Usage

prepare_links(
  data,
  style = c("markdown", "latex", "txt"),
  macro = c("myhref", "href", NA)
)

render_links(
  text,
  style = c("markdown", "latex", "txt"),
  macro = c("myhref", "href", NA)
)

Arguments

style

style of link, either "markdown", "latex", or "txt" (plain)

macro

macro to use for "latex" references

See also