From 74d062672a9ff02255ccc7d9a76eec8b1a2db49f Mon Sep 17 00:00:00 2001 From: Lextuga007 Date: Thu, 1 Feb 2024 21:56:41 +0000 Subject: [PATCH] Moved chunk to markdown --- _quarto.yml | 3 +++ style-guides.qmd | 7 +++---- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/_quarto.yml b/_quarto.yml index e9c369e..d2a12d1 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -1,5 +1,8 @@ project: type: book + render: + - "*.qmd" + - "!*.md" resources: - CNAME book: diff --git a/style-guides.qmd b/style-guides.qmd index 026b962..ee3f73e 100644 --- a/style-guides.qmd +++ b/style-guides.qmd @@ -163,11 +163,10 @@ you have experienced. **Use if required** ``` -To create a code of conduct file use the code: +To create a code of conduct file use the code from the {usethis} package: -```{r} -#| eval: false -usethis::use_code_of_conduct(contact = "nhs.rcommunity@nhs.net") +``` +use_code_of_conduct(contact = "nhs.rcommunity@nhs.net") ``` which generates a file `CODE_OF_CONDUCT.md`. \ No newline at end of file