I am trying to style the word document using the Rmarkdown. I have successfully applied the basic styles by providing the reference word document under the YAML.
However, I am looking at some advanced styling like applying the different font size or colour to the paragraphs/headers in the same document.
Right now if I change the colour of any one paragraph to blue, colour of all the paragraphs get's changed to blue where I wanted to change the colour of only some of the paragraphs.
current rmarkdown:
---
title: "`r params$report_title`"
params:
report_title: NA
absolute_application_path: NA
output:
word_document:
md_extensions: +styles
reference_docx: "mmr_tec_report_reference-file.docx"
---
```{r setup, include=FALSE, echo=FALSE}
knitr::opts_chunk$set(echo = FALSE, warning = FALSE, message = FALSE)
library(pander)
```
```{r echo = FALSE}
application_path = params$absolute_application_path
signature_note <- ""
summary_note <- ""
```
## Template Instructions:
::: {custom-style="MMR_BodyText"}
The blue text are instructions or guidance for preparing the Sample or examples. Delete the blue highlighted instructions as the document is being drafted.
:::
Am I doing anything wrong up there?
I would like to know if there is any way to get it worked?