get_md_file_name: get markdown file name

View source: R/file-tools.R

get_md_file_nameR Documentation

get markdown file name

Description

get markdown file name

Usage

get_md_file_name(article_dir)

Arguments

article_dir

path to the directory which contains tex article

Value

markdown file name

Examples

article_dir <- system.file("examples/article",
                 package = "texor")
dir.create(your_article_folder <- file.path(tempdir(), "tempdir"))
x <- file.copy(from = article_dir, to = your_article_folder,recursive = TRUE,)
your_article_path <- paste(your_article_folder,"article",sep="/")
texor::get_md_file_name(your_article_path)
unlink(your_article_folder,recursive = TRUE)

texor documentation built on April 4, 2025, 4:44 a.m.