| write_scss | R Documentation |
Creates or opens an SCSS file in the www/ directory. If the file
already exists, it is opened directly. Otherwise, the template is
downloaded from the
frogger-templates
repository.
write_scss(filename = "custom", path = here::here())
filename |
Character. The name of the file without the |
path |
Character. Path to the project directory. Default is current
working directory via |
The file is written to www/<filename>.scss. The www/
directory is created automatically if it does not exist.
Invisibly returns the path to the file.
init, write_quarto
## Not run:
# Create the default custom.scss
write_scss()
# Create a second SCSS file
write_scss("custom2")
# These are equivalent
write_scss("www/custom2.scss")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.