Add blank line to Word Output RMarkdown

Good afternoon.

I am trying to create a conference abstract using the rmarkdown file, which is exported to a text document. I am trying to find a way to insert a blank line in an output word document. I found that a line break can be inserted by adding two spaces at the end of the markdown file, however this technique does not work when you just need an empty line. Below is a sample code

  ---
title: "HERE IS THE TITLE OF MY ABSTRACT"
output:
  word_document:
    reference_docx: draft-styles.docx
---

'''{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
'''

'''{r, include=FALSE, cache=FALSE, echo=FALSE}
library(rmarkdown)
'''


Authors: John H. Curry^1^, Kathy S. James^1^, Patrick S. Curry^1^
Affiliations: ^1^University of Somewhere 

*Presenting author information*  
Name: John H. Curry 
Email: curry@umed.edu  
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada  


*Coauthor #2*  
Name: Kathy S. James  
Email: james@umed.edu 
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada  

*Coauthor #3*  
Name: Patrick S. Curry 
Email: curry2@umed.edu  
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada  


## Introduction
Here is where I write my introduction....

## Methods
Here is where I write my methods

## Results
Here is where I write my results...

## Discussion
Here is where I write my discussion

When I knit a document, unfortunately, it is a little grouped. Below I added a picture with the current output (left) and how I would like it to look (right).img

I read the forums and I have yet to find a solution for this when using a text document. I would be grateful for any suggestions.

thank

+8
2

\newline Rmd :

---
title: "HERE IS THE TITLE OF MY ABSTRACT"
output:
  word_document
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

```{r, include=FALSE, cache=FALSE, echo=FALSE}
library(rmarkdown)
```


Authors: John H. Curry^1^, Kathy S. James^1^, Patrick S. Curry^1^
    Affiliations: ^1^University of Somewhere

\newline

*Presenting author information*
    Name: John H. Curry
Email: curry@umed.edu
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada

\newline

*Coauthor #2*
Name: Kathy S. James
Email: james@umed.edu
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada

\newline

*Coauthor #3*
Name: Patrick S. Curry
Email: curry2@umed.edu
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada

\newline

## Introduction
Here is where I write my introduction....

\newline

## Methods
Here is where I write my methods

\newline

## Results
Here is where I write my results...

\newline

## Discussion
Here is where I write my discussion

, . 5 (,), , Rmd 5 . , , .

+13

chinsoon12. , . , \newline\newline ( , ). \newline . .rmd, ( , , ).

---
title: "HERE IS THE TITLE OF MY ABSTRACT"
output:
  word_document:
    reference_docx: draft-styles.docx
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
```

```{r, include=FALSE, cache=FALSE, echo=FALSE}
library(rmarkdown)
```


Authors: John H. Curry^1^, Kathy S. James^1^, Patrick S. Curry^1^ 

\newline

Affiliations: ^1^University of Michigan  

\newline  \newline

*Presenting author information*  
Name: John H. Curry  
Email: curry@umed.edu  
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada  

\newline \newline

*Coauthor #2*  
Name: Kathy S. James  
Email: james@umed.edu   
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada  

\newline \newline

*Coauthor #3*  
Name: Patrick S. Curry  
Email: curry2@umed.edu  
Affiliation details: Kinesiology, University of Somewhere, Ottawa, Canada  

\newline \newline

## Introduction
Here is where I write my introduction....

\newline \newline

## Methods
Here is where I write my methods

\newline \newline


## Results
Here is where I write my results...

\newline \newline

## Discussion
Here is where I write my discussion

\newline \newline
+5

Source: https://habr.com/ru/post/1674138/


All Articles