parse_article: prepare an article for publication on dev.to

Description Usage Arguments Details Value See Also Examples

View source: R/parse_article.R

Description

Uses the YAML frontmatter of an .Rmd to create a raw markdown file suitable for publication.

Usage

1

Arguments

file

.Rmd file

Details

The list is describing the article metadata, markdown article output location and markdown article string. The title is removed from the article string and is present in the metadata.

Value

list

See Also

yaml_front_matter,render map str_remove read_file glue

Examples

1
2
3
4
5
6
## Not run: 
if(interactive()){
 #EXAMPLE1
 }

## End(Not run)

DaveParr/dev.to.ol documentation built on Aug. 8, 2020, 4:31 p.m.