[ANN] tilt 1.3

R

Ryan Tomayko

https://github.com/rtomayko/tilt

Tilt is a generic interface to a bunch of different Ruby template
engines. It's useful for web frameworks, static site generators,
and other systems that want to support multiple template engines
but don't want to code for each of them specifically.

The 1.3 release includes a number of bug fixes, internal
refactorings, new template implementations, and the ability to
define template implementation preference order:

- Add support for declaring "preferred" template implementations
and falling back to alternative implementation when not
available. e.g., you may specify that the redcarpet markdown
implementation should be used in preference to other markdown
engines when available. (Magnus Holm)

- Add Template.default_mime_type so to allow implementations to
signal a reasonable default mime type for output when
available. (Josh Peek)

- All Template classes now respond to an engine_initialized?
method, which can be used to determine whether the underlying
template engine classes have been loaded. (Magnus Holm)

- The main tilt.rb file has been split out into multiple files
to keep things a bit more organized (Magnus Holm)

- Fix some issues with Erubis regarding outvar
names (Nathan Esquenazi)

- CoffeeScriptTemplate deprecates the 'no_wrap' option; use
'bare' instead. (Josh Peek)

- New MarukuTemplate (Tim Felgentreff)

- New KramdownTemplate (Postmodern)

- New CreoleTemplate (Daniel Mendler)

- New RedcarpetTemplate (Konstantin Haase)

For a full list of changes, see:

https://github.com/rtomayko/tilt/compare/1.2.2...1.3

Special thanks to Magnus Holm, Josh Peek, and Konstantin Haase
for pulling this release together.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,123
Messages
2,570,718
Members
47,284
Latest member
LeroyOlver

Latest Threads

Top