Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
parser and renderer library for liquid-like templates

readme.md

Gem Version Build Status Code Climate Inline docs Coverage Status

Description

Cadenza is a template parsing and rendering library for Ruby. The syntax is very similar to other template languages like Django (Python), Smarty (PHP), or Liquid (Ruby).

In addition to the usual template language features, Cadenza features:

  • template inheritance
  • extendable syntax
  • interchangeable lexers, parsers, loaders and renderers

Installation

   gem install cadenza

Usage

To learn how to both write Cadenza templates and use Cadenza in your Ruby projects have a look at the Cadenza Manual

To learn how to extend Cadenza with custom Lexers, Parsers, Loaders and Renderers visit the Yard Documentation

Roadmap

See: Pivotal Tracker Project

If you have any ideas or suggestions please let me know! I love ideas. You can open an Issue to discuss it.

Contributing

See: CONTRIBUTING.md

Supported Ruby Versions

  • Ruby 1.8.7
  • Ruby 1.9.2
  • Ruby 1.9.3
  • Ruby 2.0.0*
  • Ruby Enterprise Edition
  • Rubinius 2.0 (1.8 mode)*
  • Rubinius 2.0 (1.9 mode)*
  • JRuby (1.8 mode)
  • JRuby (1.9 mode)

(*) Some supported ruby interpreters are not officially released yet (such as Rubinius or Ruby 2.0), these are a special case for support:

If you are using Cadenza from Rubygems then we will ensure that the build is passing on that interpreter at the point we are releasing.

If you are using Cadenza from the master branch however, be sure to check our Travis CI page for current build status. No guarantees.

License

Cadenza is released under the MIT license

Something went wrong with that request. Please try again.