Create a markdown list for answer options
Examples
#list for multiple choice task
mdlist(c("A", "B", "C"), c(2, 3))
#> [1] "- A\n- *B*\n- *C*"
# it returns:
#- A
#- *B*
#- *C*
#list of gaps
mdlist(c("A", "B", "C"), c(2, 3), c(1, 2, 3))
#> [1] "- A <gap>1</gap>\n- *B* <gap>2</gap>\n- *C* <gap>3</gap>"
# it returns:
#- A <gap>1</gap>
#- *B* <gap>2</gap>
#- *C* <gap>3</gap>