Indrajeet Patil
Indrajeet Patil

Reputation: 4879

unnecessary list created in `github_document` when emojis are used

I am trying to write an .Rmd document for a GitHub repo and the relevant text of the doucment looks like the following:

YAML for the doc-

---
title: "trial"
output: github_document
---

Content of the document-

## R Markdown

`r emo::ji("check")` descriptive statistics <br>
`r emo::ji("check")` statistic + *p*-value <br>
`r emo::ji("check")` effect size + CIs <br>

If I knit this, I see an unnecessary list is created at the letter CIs, and I am not sure why or how to avoid this behavior:

enter image description here

This problem disappears as soon as I remove + before CI in effect size + CIs. But I'd like to include +.

Any solutions?

Upvotes: 1

Views: 49

Answers (1)

RaphaelS
RaphaelS

Reputation: 869

Add a space:

---
title: "trial"
output: github_document
---

## R Markdown

`r emo::ji("check")` raw data + distributions <br>
`r emo::ji("check")` descriptive statistics <br>
`r emo::ji("check")` statistic + p <br>
`r emo::ji("check")` effect size + CIs

enter image description here

Upvotes: 1

Related Questions