View source: R/exams_fcts_html.R
add_html_content | R Documentation |
Used for replacing names, id, version and so on on html exercise files.
add_html_content( f_in, dir_out, student_name, student_version, n_q, class_name, exercise_name, exam_links )
f_in |
File with html code |
dir_out |
Folder out |
student_name |
Name of student |
student_version |
Version of student |
n_q |
Number of questions in exercise |
class_name |
Name of class |
exercise_name |
Name of exercise |
exam_links |
Links to add |
TRUE, if sucessfull
## Not run: afedR_add_html_content(f_in = 'example.html', dir_out = tempdir(), student_name = 'George', student_version = 1, n_q = 10, class_name = 'example class', exercise_name = 'sample', exam_links = NA) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.