debian-mirror-gitlab/lib/banzai.rb

18 lines
363 B
Ruby
Raw Normal View History

2015-12-23 02:04:40 +05:30
module Banzai
def self.render(text, context = {})
Renderer.render(text, context)
end
def self.render_result(text, context = {})
Renderer.render_result(text, context)
end
2016-06-02 11:05:42 +05:30
def self.pre_process(text, context)
Renderer.pre_process(text, context)
end
2015-12-23 02:04:40 +05:30
def self.post_process(html, context)
Renderer.post_process(html, context)
end
end