This repository has been archived by the owner. It is now read-only.

front_matter_cr

Extract FrontMatter.

front_matter_cr

Build Status

Extract to FrontMatter. Now support yaml or toml.

Installation

Add this to your application's shard.yml:

dependencies:
  front_matter:
    github: takaishi/front_matter

Usage

require "front_matter"


file = File.open("/path/to/file")
front_matter, content = FrontMatter.extract(file)

Development

TODO: Write development instructions here

Contributing

  1. Fork it ( https://github.com/takaishi/front_matter_cr/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • takaishi Ryo TAKAISHI - creator, maintainer
Repository

front_matter_cr

Owner
Statistic
  • 0
  • 1
  • 0
  • 0
  • 1
  • about 9 years ago
  • April 19, 2016
License

MIT License

Links
Synced at

Sun, 27 Apr 2025 10:59:32 GMT

Languages