Skip to content

Instantly share code, notes, and snippets.

@ChrisBeeley
Created June 15, 2023 20:13
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save ChrisBeeley/90889f6d8c4746af2fbf017117e6603c to your computer and use it in GitHub Desktop.
---
title: "Minimal example"
author: "Chris Beeley"
date: "1 September 2015"
output: word_document
---
```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```
```{r, results = 'asis', echo = FALSE}
headings = letters[1:4]
invisible(
sapply(headings, function(x){
cat(paste0("#", x, "\n"))
cat(paste0("<p>", rep("Some text here", 10), "</p>"))
})
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment