rmarkdown-book icon indicating copy to clipboard operation
rmarkdown-book copied to clipboard

Add documentation for sxss knitr engine

Open cderv opened this issue 4 years ago • 1 comments

At least small examples and links to where to look for more

---
output:
  html_document: default
---
```{scss}
$main-color: salmon;
.bright {
  background-color: $main-color;
}
```
This is a [*bright*]{.bright} word.
---
output:
  html_document: default
---
```{sass}
$main-color: salmon
.bright 
  background-color: $main-color;
```
This is a [*bright*]{.bright} word.

cderv avatar Apr 08 '21 10:04 cderv

I just remember there was a chapter on the R Markdown Cookbook too. https://bookdown.org/yihui/rmarkdown-cookbook/eng-sass.html

It may worth transitioning all engine related doc into the Definitive Guide at the end - this seems like a better place.

Anyway, adding a link from this book to the cookbook is the least we need to do I think

cderv avatar Apr 15 '21 07:04 cderv