inst/rook/config.R

require(highlight)
root <- "/Users/romain/svn/highlight/pkg/highlight/inst/rook"
# root <- system.file( "rook", package = "highlight" ) 
app <- Builder$new(
    Static$new(
	    urls = c('/css','/images','/javascript'),
        root = root
	),
    Brewery$new(            
	    url='/brew',
	    root=root
    ),
    Redirect$new('/brew/index.rhtml')
)

Try the highlight package in your browser

Any scripts or data that you put into this service are public.

highlight documentation built on May 2, 2019, 4:58 p.m.