boldface in Rmarkdown

Hello!

When I use the boldface function in Rmarkdown, the output is blue. Is there any way to make it be black, please? Also, can I change the title to be black as well, please?

I have a feeling that it might be something very simple.

---
title: Test for colors
---
__Recap__
---
 rmarkdown::render("test1.Rmd",c("word_document"),output_file="woo2.docx")

Thank you for any help.
Sincerely,
Erin

This is interesting: the colors only change in Word documents. HTML and PDF renderings are fine.

If you want to change the styles in the output word document, you can use a template.

See:

and

Thank you so much! This is really helpful.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.