Module: HamdownCore::Engine

Defined in:
lib/hamdown_core/engine.rb

Class Method Summary collapse

Class Method Details

.call(content) ⇒ Object



8
9
10
11
12
# File 'lib/hamdown_core/engine.rb', line 8

def self.call(content)
  ast = HamdownCore::Parser.new.call(content)
  transformed_ast = HamdownCore::Transformer.call(ast)
  HamdownCore::Compiler.call(transformed_ast)
end