R/replace_md_keys_with_endnote_db_vals_in_pub_index_md.R
replace_md_keys_with_endnote_db_vals_in_pub_index_md.Rd
replace_md_keys_with_endnote_db_vals_in_pub_index_md
replace_md_keys_with_endnote_db_vals_in_pub_index_md( md_paths, md_key, endnote_db_refs, endnote_db_col, file_encoding = "UTF-8", escape_with_double_quote = FALSE, dbg = TRUE )
md_paths | paths to "publication" markdown files |
---|---|
md_key | markdown key pattern to search for |
endnote_db_refs | table "refs" in Endnote DB (as retrieved by [read_endnote_db]) |
endnote_db_col | column with values to be used for replacement |
file_encoding | default: "UTF-8 |
escape_with_double_quote | should be double quotes added "<endnote-value>" (default: FALSE) |
dbg | default: TRUE |
replaces "md_key" line in markdown files based on values in column defined with parameter "endnote_db_col"