make_embed_markdown {ottrpal} | R Documentation |
Make Leanpub file that has embed webpage of a chapter
Description
Make Leanpub file that has embed webpage of a chapter
Usage
make_embed_markdown(
url,
chapt_title,
width_spec = 800,
height_spec = 600,
img_path,
output_dir = "manuscript",
verbose = TRUE,
footer_text = ""
)
Arguments
url |
The url to the chapter that is to be embed |
chapt_title |
Title of chapter to be used as file name and printed on iframe |
width_spec |
How wide should the iframe be in pixels? |
height_spec |
How high should the iframe be in pixels? |
img_path |
File path to image to use for poster |
output_dir |
output directory to put files. It should likely be relative to path |
verbose |
print diagnostic messages |
footer_text |
Optionally can add a bit of text that will be added to the end of each file before the references section. |
Value
A markdown file with an iframe of the provided chapter
[Package ottrpal version 1.2.1 Index]