# NOT RUN {
library(blogdown)
shortcode("tweet", "1234567")
shortcodes("tweet", as.character(1:5)) # multiple tweets
shortcode("figure", src = "/images/foo.png", alt = "A nice figure")
shortcode("highlight", "bash", .content = "echo hello world;")
shortcode_html("myshortcode", .content = "My <strong>shortcode</strong>.")
shortcode_open("figure", src = "/images/foo.png")
# This inner text will be *processed* by Pandoc, @Smith2006
shortcode_close("figure")
# }
Run the code above in your browser using DataLab