Class: HiLite::Parser

Inherits:
Object
  • Object
show all
Defined in:
lib/hi-lite/parser.rb

Class Method Summary collapse

Class Method Details

.parse(code, opts) ⇒ Object



7
8
9
# File 'lib/hi-lite/parser.rb', line 7

def parse(code, opts)
  Uv.parse(code, "xhtml", opts[:syntax], opts[:line_numbers], opts[:theme], opts[:headers])
end