Class: Vita::Format::Org

Inherits:
Object
  • Object
show all
Includes:
Singleton
Defined in:
lib/vita/format/org.rb

Instance Method Summary collapse

Instance Method Details

#nameObject



9
10
11
# File 'lib/vita/format/org.rb', line 9

def name
  "org"
end

#to_html(source) ⇒ Object



13
14
15
# File 'lib/vita/format/org.rb', line 13

def to_html(source)
  Orgmode::Parser.new(source).to_html
end