# ffi-sundown * [Source](http://github.com/postmodern/ffi-sundown) * [Issues](http://github.com/postmodern/ffi-sundown/issues) * [Documentation](http://rubydoc.info/gems/ffi-sundown/frames) * [Email](mailto:postmodern.mod3 at gmail.com) ## Description Ruby FFI bindings for the libsundown markdown library. ## Examples require 'ffi/sundown' doc = FFI::Sundown::Document.new(File.read('README.md')) puts doc.to_html #

ffi-sundown

# # # #

Description

# #

Ruby FFI bindings for the libsundown markdown library.

# #

Examples

# #
require 'ffi/sundown'
    #
    # doc = FFI::Sundown::Document.new(File.read('README.md'))
    # puts doc.to_html
    # 
# #

Requirements

# # # #

Install

# #
$ gem install ffi-sundown
    # 
# #

Copyright

# #

Copyright (c) 2011 Hal Brodigan

# #

See {file:LICENSE.txt} for details.

puts doc.to_toc # ## Requirements * [libsundown] >= 1.2.0 * [ffi] ~> 1.0 ## Install $ gem install ffi-sundown ## Copyright Copyright (c) 2011 Hal Brodigan See {file:LICENSE.txt} for details. [libsundown]: https://github.com/vmg/sundown#readme [ffi]: https://github.com/ffi/ffi#readme