Description Usage Arguments Value Examples
Passes content of file_name into V8 console and converts it using LESS engine to CSS. The converted CSS is saved into output_folder under original name. Only the extension is switched to css.
1 | convert_file(base_path, file_name, output_folder = tempdir())
|
base_path |
Base path to file to be converted |
file_name |
Path relative to |
output_folder |
Output path where converted file should be placed.
File is placed to |
Full path to created file with converted CSS file
1 2 3 4 | path_to_less_files <- system.file("extdata", package="rless")
convert_file(path_to_less_files, "example.less")
convert_file(path_to_less_files, "example.less", tempdir())
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.