html_pretty
in the prettydoc
package is a new output format for creating HTML document from R Markdown files.
html_pretty
is more lightweight compared to html_document
, and is more
stylish than html_vignette
when creating package vignettes.
Use the Knit button of RStudio to preview your post in HTML format. You should have a very similar rendering for the main content of your post when it will be on your blog.
Use prettyjekyll::FormatPost
to convert your post.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.