Process (remove) double blanks at the end of a line which causes R Markdown to start a new line, and replace double backslashes or newline commands with double blanks to force a new line.
a vector of Latex file lines
a processed vector of Latex file lines with lists formated in R Markdown.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.