whisker.render

0th

Percentile

Logicless templating

Logicless templating

Usage
whisker.render(template, data = parent.frame(), partials = list(), debug = FALSE)
Arguments
template
character with template text
data
named list or environment with variables that will be used during rendering
partials
named list with partial templates, will be used during template construction
debug
Used for debugging purposes, likely to disappear
Value

character with rendered template

Aliases
  • whisker.render
Examples
library(whisker) template <- "Hello {{place}}!" place <- "World" whisker.render(template)
Documentation reproduced from package whisker, version 0.3-2, License: GPL-3

Community examples

Looks like there are no examples yet.