I thought creating custom blocks in Hugo would be difficult. But with Hugo’s shortcodes, and the CSS from Yihui Xie’s Bookdown project, it can be super easy.

Download images and edit stylesheet

First of all, you’ll need to download five images from <a href=“https://github.com/rstudio/bookdown/tree/ …