A WIP markdown table parser. -- may never be finished.
Add this line to your application's Gemfile:
gem 'md_parser'And then execute:
$ bundle
Or install it yourself as:
$ gem install md_parser
beautify_table("|some | text|\n |in a md |table| \n") # => same table but pretty
table_to_hash("|some | text|\n |in a md |table| \n") # => hash of the table content.
- Fork it ( https://github.com/nigelthorne/md_parser/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request