convertLibOToPdf assumes that graphics or diagrams are produced by
LibreOffice Draw. Source files are converted on the fly to pdf which are
then included in the source R markdown document
1  | convertLibOToPdf(psLibOFile, psLibODir = "odg", psFigOutDir = ".")
 | 
psLibOFile | 
 name of the libre office graphics file  | 
psLibODir | 
 source directory of Libre Office files  | 
psFigOutDir | 
 output directory where figure pdfs are expected to be  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.