#' Helper function to create html link
#'
#' @param url, a character string the target URL
#' @param text, a character string the text displayed as HTML link
#' @param target, a character valid attribute for target
#' @export
#' @seealso http://www.w3schools.com/tags/att_a_target.asp
#' @examples
#' \dontrun{
#' htmlLink("https://twitter.com/duc_qn", "@duc_qn")
#' }
htmlLink <- function(url, text, target = "_blank") {
paste0('<a href="', url, '" target="', target, '">', text, '</a>')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.