R/insert_score.R

Defines functions insert_score

Documented in insert_score

#' Create an overall sum score for all correct tasks in the document
#'
#' @return returns the html tags and javascript code
#'
#' @author George Moroz <agricolamz@gmail.com>
#'
#' @export
#'
#' @importFrom htmltools span

insert_score <- function(){
  htmltools::span(id = "checkdown_final_score", 0)
}

Try the checkdown package in your browser

Any scripts or data that you put into this service are public.

checkdown documentation built on Nov. 2, 2023, 5:48 p.m.