History

2.1.0 / 2015-02-11

Minor Feature

  1. Added interpolation in tag attributes

dang <time[datetime=<| Time.now.strftime(%Y-%m-%d) |>] <| Time.now |> time>

2.0.0 / 2014-11-20

Major Features

  1. Fixed two major and obvious syntax mistakes.

<- non-printing ruby -> : As a syntax works great in a vaccum, but not in Ruby 1.9 or higher because of the -> stabby proc. Duh. That’s our bad. Sorry that we didn’t catch it in our design and testing.

<= printing ruby => : Same goes for this. => is used in hashes. Double duh. Both of these should’ve never made it into the spec.

For 2.0, we’ve changed both of them to similar but different syntaxes.

Our reason for using <: :> is because we were already using a similar syntax for filters. <:raw raw:>, <:markdown markdown:>, etc. Following this pattern, <: :> is the default filter and therefore an alias/shorthand for <:ruby ruby:>.

<| |> was chosen for visual symmetry/balance and because pipes are already used in Ruby, so they won’t feel out of place in Ruby/Rals views. We didn’t want to introduce another symbol to the aesthic of views.

1.0.0 / 2013-09-18

Major Features

  1. Dang to html transformation

  2. Syntax: <tag content tag>

  3. Syntax: <tag#id content tag>

  4. Syntax: <tag#class content tag>

  5. Syntax: <tag[attr=value] content tag>

  6. Syntax: <! html comment !>

  7. Syntax: Embedded non-printing ruby (<- if logged_in? ->)

  8. Syntax: Embedded printing ruby (<= @user.name =>)

  9. Syntax: !!! doctype shorthand inspired by HAML

  10. Command Line Interface

  11. dang path/to/file.html.dang

  12. Option: dang -e "<i super duper i>"

  13. House Keeping

  14. Gemfile for development dependencies

  15. Removed kpeg as a runtime dependency

  16. Hoe plugins for better release management

0.1.0 / 2011-02-15

1 major enhancement

Conception!