Module: MMarkdown

Defined in:
lib/mmarkdown.rb,
lib/mmarkdown/helper.rb,
lib/mmarkdown/version.rb,
lib/mmarkdown/mmarkdown.rb

Defined Under Namespace

Modules: Helper Classes: MMarkdown

Constant Summary collapse

VERSION_MAJOR =
0
VERSION_MINOR =
2
VERSION_REVISION =
1
VERSION =
"#{VERSION_MAJOR}.#{VERSION_MINOR}.#{VERSION_REVISION}"

Class Method Summary collapse

Class Method Details

.load_file(filename) ⇒ Object



9
10
11
# File 'lib/mmarkdown.rb', line 9

def load_file filename
  return MMarkdown.load_file(filename)
end

.new(md_string, opts = {}) ⇒ Object



4
5
6
# File 'lib/mmarkdown.rb', line 4

def new md_string, opts = {}
  return MMarkdown.new(md_string, opts)
end