require 'peg_multimarkdown.so' # Front-end to fletcher penney's peg-multimarkdown implementation of MultiMarkdown # # A simple processor: # >> puts MultiMarkdown.new("Hello, World.").to_html #
Hello, World.
# # With other stuff: # >> puts MultiMarkdown.new("_Hello World!_", :smart, :filter_html).to_html #Hello World!
# class PEGMultiMarkdown # Original MultiMarkdown formatted text. attr_reader :text # Set `true` to have smarty-like quote translation performed. attr_accessor :smart # Set `true` to have footnotes processed. attr_accessor :notes # Set `true` to have labels generated. attr_accessor :no_labels # Do not output `