This function replaces the URL that normally links to the Rmd File on github with the URL of the source text file.

replace_edit_url(
  songbook_yamlfile = list.files(pattern = "_songbookdown.ya*ml"),
  bookdown_yamlfile = list.files(pattern = "_bookdown.ya*ml")
)

Arguments

songbook_yamlfile, bookdown_yamlfile

the songbook- / bookdown- yamlfile containing yaml the songbook metadata. Must be relative to the input.

Value

Does not return a value, simply modiefies the html files.