# Companion Tools for Open-Source Tools for Training Resources (OTTR)

## Documentation for package ‘ottrpal’ version 1.0.1

- DESCRIPTION file.
- User guides, package vignettes and other documentation.

## Help Pages

bad_quiz_path | Path to bad example quiz
bookdown_destination | Declare file path to docs/ folder
bookdown_file | Find file path to _bookdown.yml
bookdown_path | Find main Bookdown directory
bookdown_rmd_files | Get file paths all Rmds in the bookdown directory
bookdown_to_book_txt | Create Book.txt file from files existing in quiz directory
bookdown_to_embed_leanpub | Convert Bookdown to Embed version of Leanpub
bookdown_to_leanpub | Convert Bookdown to Leanpub
check_all_questions | Check all quiz questions
check_question | Check Quiz Question Set Up
check_quiz | Check Quiz
check_quizzes | Check all quizzes in a directory
check_quiz_attributes | Check Quiz Attributes
check_quiz_question_attributes | Check a question's attributes
convert_coursera_quizzes | Convert Leanpub md quiz to Coursera yaml quiz
convert_footnotes | Convert Bookdown footnotes to Leanpub-formatted footnotes
convert_quiz | Convert Leanpub md quiz to Coursera yaml quiz
convert_utube_link | Convert youtube link
download_gs_file | Download Google Slides File
example_repo_cleanup | Clean up example repo files
example_repo_setup | Set up example repo files
extract_meta | Extract meta fields from a tag
extract_quiz | Parse Quiz and Other Checking Functions
get_bookdown_spec | Load in Bookdown specifications from _bookdown.yml
get_chapters | Make Leanpub file that has embed webpage of a chapter
get_image_from_slide | Google Slides Helper Functions
get_image_link_from_slide | Google Slides Helper Functions
get_slide_id | Get Slide ID from URL
get_slide_page | Get Google Slide PNG URL
good_quiz_path | Path to good example quiz
gs_id_from_slide | Google Slides Helper Functions
gs_png_download | Get Google Slide PNG URL
gs_png_url | Get Google Slide PNG URL
include_slide | Get Google Slide PNG URL
leanpub_check | Check Leanpub Course or Book
make_embed_markdown | Make Leanpub file that has embed webpage of a chapter
parse_quiz | Parse Quiz and Other Checking Functions
parse_quiz_df | Parse quiz into a data.frame
parse_q_tag | Parse apart a tag
remove_yaml_header | Remove YAML header
render_without_toc | Create TOC-less Bookdown for use in Coursera
replace_html | Replace HTML and other Tags in Leanpub Markdown
replace_single_html | Replace HTML and other Tags in Leanpub Markdown
set_knitr_image_path | Set image path for 'knitr'
set_up_leanpub | Set up Manuscript folder for Leanpub publishing
simple_references | Run Simple References