powered by
Create a markdown list for answer options
mdlist(vect, solutions = NULL, gaps = NULL)
A markdown list.
A string or numeric vector of answer options for single/multiple choice task.
An integer value, optional; indexes of right answer options in vect.
vect
numeric or string vector, optional; provides primitive gap description if there is a need to build a list of gaps.
gap_text(), gap_numeric(), dropdown()
gap_text()
gap_numeric()
dropdown()
#list for multiple choice task mdlist(c("A", "B", "C"), c(2, 3)) # it returns: #- A #- *B* #- *C* #list of gaps mdlist(c("A", "B", "C"), c(2, 3), c(1, 2, 3)) # it returns: #- A 1 #- *B* 2 #- *C* 3
Run the code above in your browser using DataLab