#' Get Example of markdown
#'
#' This function shows three frequently used markdown and related built function.
#'
#' @return Text.
#' @author Jiaxiang Li
#'
#' @importFrom glue glue
#' @importFrom cli rule
m <-
function(){
cat(
sep = "\n"
,glue::glue('This is the helper for R users to use markdown.')
# m1
,cli::rule(center = " Type m1('url') URL", col = "red")
,glue::glue('Input m1("url","name")
Output [name](url)
e.g. m1("https://github.com/JiaxiangBU/add2md/","add2md")
[add2md](https://github.com/JiaxiangBU/add2md/)
')
# m2
,cli::rule(center = " Type m2('url','name') Image", col = "red")
,glue::glue('Input m2("url","name")
Output 
e.g. m2("https://raw.githubusercontent.com/JiaxiangBU/picbackup/master/add2blog_sample_wallpaper.png","The blog wallpaper")

')
# m3
,cli::rule(center = " Type m3('name') bold", col = "red")
,glue::glue('Input m3("name")
Output **name**
e.g. m3("Jiaxiang Li")
**Jiaxiang Li**
')
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.