R/function_scrape_markdown_file.R

Defines functions scrape_markdown_file

Documented in scrape_markdown_file

#' A Scraping Markdown File Function
#'
#' This function converts a markdown file, into a table of flashcards
#' @param markdown_file path pointing to a markdown file
#' @keywords markdown anki
#' @export
#' @examples
#' scrape_markdown_file()

scrape_markdown_file <- function(markdown_file){
  readr::read_file(markdown_file) %>%
    scrape_markdown()
}
callumgwtaylor/manki documentation built on Sept. 29, 2020, 12:48 a.m.