Girish Mahajan (Editor)

Markaby

Updated on
Edit
Like
Comment
Share on FacebookTweet on TwitterShare on LinkedInShare on Reddit
Website
  
markaby.github.io/markaby/

Markaby is a small Ruby library for writing HTML code in pure Ruby. It is an alternative to templating languages such as ERb and HAML which combine Ruby code with some form of markup. It was developed by the computer programmer "why the lucky stiff" and its name comes from Markup as Ruby.

Contents

Usage

Executing the above code will render the following HTML:

Distribution

Gem

gem install markaby

Rails plugin

script/plugin install git://github.com/markaby/markaby.git

Camping

Markaby is the templating engine used for the Camping micro web framework.

References

Markaby Wikipedia