markdown: Convert markdown to html

Description Usage Arguments Examples

View source: R/plugin-markdown.R

Description

Use the markdown package. Markdown inputs are converted to html and their extension changed to .html. Binary files are ignored.

Usage

1
markdown(pattern = "\\.md$")

Arguments

pattern

Regular expression used to identify markdown files.

Examples

1
2
3
static_site <- rsmith_demo("static-site")
static_site %>% preview()
static_site %>% use(markdown()) %>% preview()

hadley/rsmith documentation built on May 17, 2019, 12:16 p.m.