leanpub_render: Render Leanpub document

Description Usage Arguments Value

View source: R/leanpub_render.R

Description

Render Leanpub document

Usage

1
2
3
4
5
6
7
8
leanpub_render(
  md_file,
  output_options = list(self_contained = TRUE),
  remove_tests = TRUE,
  ...
)

leanpub_document(..., remove_tests = TRUE, self_contained = TRUE)

Arguments

md_file

Path to markdown file

output_options

arguments to send to render

remove_tests

Should the quizzes and exercises be removed

...

additional arguments to send to render other than input, 'output_dir', and 'output_format', and 'output_options'

self_contained

Produce a standalone HTML file, passed to html_document

Value

HTML output filename


muschellij2/didactr documentation built on March 17, 2021, 12:45 p.m.