Skip to content

jimjh/genie-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spirit

Dependency Status Code Climate Build Status

Genie's parser, which parses the Genie Markup Language and produces HTML partials. Both Aladdin and Lamp should depend on this gem for all their parsing needs.

Installation

Add this line to your application's Gemfile:

gem 'spirit'

And then execute:

$ bundle

Or install it yourself as:

$ gem install spirit

Usage

Parsing a document

Spirit::Document.new(data, opts).render //=> rendered html

Parsing a manifest

Spirit::Manifest.new(data, opts) //=> configuration object

About

Parser for the Genie Markup Language

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages