Skip to content

User Guide

blogdown: Creating Websites with R Markdown

Written by Yihui Xie, the package author, blogdown: Creating Websites with R Markdown introduces the R package and how to use it. The book is published by Chapman & Hall/CRC, and you can read it online for free.

The book is structured into 5 parts to guide the reader into the use of the R package blogdown to create and manage websites:

  • 1. Get Started introduces the package and how to get started using it. This is the chapter every user is expected to read.
  • 2. Hugo introduces Hugo, the static site generator on which blogdown is based. It will act as a guide to those who are just getting started with Hugo.
  • 3. Deployment explains different methods to deploy your static website online.
  • 4. Migration explains how to migrate from other framework to a Hugo website.
  • 5. Other Generators explains how to use blogdown with a custom build method.

A note from the authors: Some of the information and instructions in this book are now out of date because of changes to Hugo and the recent blogdown package. Most of the book is still valid but some chapters may have less accurate informations

About R Markdown

R Markdown: The Definitive Guide

If you are new to R Markdown, we recommend you start with R Markdown: The Definitive Guide to get an overview. Part I introduces how to install the relevant packages, and provides an overview of R Markdown, including the possible output formats, the Markdown syntax, the R code chunk syntax, and how to use other languages in R Markdown.

Next, the chapter on Websites will help orient you to how the blogdown package allows you to use R Markdown to create websites.

Going further with examples

Look at the Examples page.