Templates - JonasEngstrom/overleaf-article-template GitHub Wiki
To help in getting started writing a new article a number of checklists are available in the templates folder, that can be copied into R Markdown files. Many more are available from The Equator Network.
The templates are structured with checklist sections as sub-headers followed by commented out R Markdown code to guide writing.
To append a template (e.g. consort.txt) to the end of an R Markdown file (e.g. main.Rmd) the following command can be used:
cat templates/consort.txt >> main.Rmd
NB! Be sure to use two greater than signs (as in the example above), as use of only one will result in main.Rmd being overwritten.