A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jeroen/rjade below:

jeroen/rjade: R Bindings to the Jade Templating Engine

A Clean, Whitespace-Sensitive Template Language for Writing HTML*

Jade is a high performance template engine heavily influenced by Haml and implemented with JavaScript for node and browsers.

Example from https://jade-lang.com

# Example from http://jade-lang.com
text <- readLines(system.file("examples/test.jade", package = "rjade"))

# Compile and render seperately
tpl <- jade_compile(text, pretty = TRUE)
tpl()
tpl(youAreUsingJade = TRUE)

# Slightly faster for one-time rendering
jade_render(text, pretty = TRUE)
jade_render(text, pretty = TRUE, locals = list(youAreUsingJade = TRUE))

Binary packages for OS-X or Windows can be installed directly from CRAN:

install.packages("rjade")

To install on Linux have a look at V8 installation instructions.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4