The below instructions assume that the poster is using GitHub Desktop and RStudio.
- Open GitHub Desktop
- Click File → Clone Repository
- Choose
hbs-rcs/rcs-blog - Select a local folder and click Clone
- Open GitHub Desktop
- Select the
rcs-blogrepo and make sure that themainbranch is selected - Click Fetch origin at the top of the window
- If commits exist on the main branch that are not on your local copy, click Pull origin
- At the top of the GitHub Desktop window, click Current Branch and make sure that
mainis selected - Click New Branch
- Name it something descriptive like:
blog-post-title - Click Create Branch
- Select your new branch and publish it to the repo
- Open the rcs-blog repo in RStudio
- Go to the
postsfolder - Create a new folder with a descriptive name for your post (e.g.
2026-04-07_blog-post-title), either manually or by copying a previous post - Create a file called
index.qmd(or openindex.qmdif you copied a folder)
At the top of index.qmd include metadata such as the following:
---
title: "Your Post Title"
author: "Your Name, Co-Author's Name where applicable"
date: "2026-04-07"
description: "Optional short summary of the post"
categories: [methods, Python, large language models, other relevant topics for tagging]
image: "optional-featured-image.jpg"
----
Write in Markdown + code chunks (R, Python, Stata, etc.)
-
Add images to the same folder and reference them like:

- In RStudio: click Render
- Or run:
quarto preview
Check that:
- The post shows up on the homepage
- Formatting looks right
- Code runs (if applicable)
Add to YAML at the top with the rest of the metadata:
execute:
freeze: trueThen render once. This saves outputs so others don't need your setup.
- Go back to GitHub Desktop
- You'll see your changed files listed
- Add a commit message (e.g., "Add blog post: Blog Post Title")
- Click Commit to
blog-post-title(whereblog-post-titleis the name of the branch you created earlier) - Click Push origin
- After pushing, click Create Pull Request; this will open GitHub in your browser
- Optionally add a short description for the pull request
- Click Create Pull Request
- If you would like any team member(s) to review, click the gear icon next to "Reviewers" on the right and select them; they will be notified of the request and will be able to review and make comments
- When ready to publish, click Merge pull request and Confirm merge
- Delete your branch using the button
Once your pull request is merged, the site updates automatically and your post will appear on the blog within ten to fifteen minutes 🎉
- Use
draft: truein YAML if your post isn't ready yet - Keep folder names lowercase with hyphens
- Put all images inside your post folder
You can copy this into a new index.qmd:
---
title: "Post Title"
author: "Your Name"
date: "2026-04-07"
description: "Short summary"
categories: [R]
image: "image-file.jpg"
execute:
freeze: true
---
## Introduction
Write your intro here.
## Example
```{r}
summary(cars)
```