This is the more general function that builds and then print the commented line via rstudioapi. The argument dashnb specifies the number of "-" to be printed after the "#".
Number of "-" to be inserted after "#"
## Not run: insertDashLine()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.