getStyleFile: helper function to get a style file

View source: R/renderer.R

getStyleFileR Documentation

helper function to get a style file

Description

helper function to get a style file

Usage

getStyleFile(name = "default", extension = "css")

Arguments

name

the name of the style file to look for

extension

the file extension (css, sty, or xterm)

Details

the search goes as follows: first the current working directory then the directory ~/.R/highlight, then the stylesheet directory in the installed package

Value

the name of the first file that is found, or NULL


highlight documentation built on Jan. 22, 2023, 1:38 a.m.