1 min read

How to write a new post

Reminders about constructing blogs:

  1. To generate a new blog:
blogdown::new_post(title = 'Post Title', author = 'Your Name')
  1. To include an image, first put the image in a folder (here it’s named image) under directory content, and use the following code:

<img alt = '' height='400' width='400' src='/images/Pikachu.png' />

  1. To include a link:

[Zhili's Website](http://zhiliqiao.github.io)

Zhili’s Website

  1. To rebuild the site and show:

blogdown::build_site() + blogdown::serve_site()