Module: Banzai

Defined in:
lib/banzai.rb,
lib/banzai/filter.rb,
lib/banzai/renderer.rb,
lib/banzai/pipeline.rb,
lib/banzai/querying.rb,
lib/banzai/filter_array.rb,
lib/banzai/lazy_reference.rb,
lib/banzai/reference_extractor.rb,
lib/banzai/filter/emoji_filter.rb,
lib/banzai/pipeline/gfm_pipeline.rb,
lib/banzai/pipeline/note_pipeline.rb,
lib/banzai/pipeline/base_pipeline.rb,
lib/banzai/pipeline/atom_pipeline.rb,
lib/banzai/pipeline/wiki_pipeline.rb,
lib/banzai/pipeline/full_pipeline.rb,
lib/banzai/filter/autolink_filter.rb,
lib/banzai/filter/redactor_filter.rb,
lib/banzai/filter/markdown_filter.rb,
lib/banzai/cross_project_reference.rb,
lib/banzai/filter/task_list_filter.rb,
lib/banzai/filter/wiki_link_filter.rb,
lib/banzai/filter/reference_filter.rb,
lib/banzai/pipeline/email_pipeline.rb,
lib/banzai/filter/image_link_filter.rb,
lib/banzai/filter/upload_link_filter.rb,
lib/banzai/filter/gollum_tags_filter.rb,
lib/banzai/pipeline/combined_pipeline.rb,
lib/banzai/filter/sanitization_filter.rb,
lib/banzai/filter/relative_link_filter.rb,
lib/banzai/filter/external_link_filter.rb,
lib/banzai/filter/user_reference_filter.rb,
lib/banzai/filter/issue_reference_filter.rb,
lib/banzai/pipeline/description_pipeline.rb,
lib/banzai/pipeline/pre_process_pipeline.rb,
lib/banzai/pipeline/single_line_pipeline.rb,
lib/banzai/filter/label_reference_filter.rb,
lib/banzai/filter/commit_reference_filter.rb,
lib/banzai/filter/syntax_highlight_filter.rb,
lib/banzai/pipeline/post_process_pipeline.rb,
lib/banzai/filter/table_of_contents_filter.rb,
lib/banzai/filter/snippet_reference_filter.rb,
lib/banzai/filter/yaml_front_matter_filter.rb,
lib/banzai/filter/reference_gatherer_filter.rb,
lib/banzai/pipeline/plain_markdown_pipeline.rb,
lib/banzai/filter/abstract_reference_filter.rb,
lib/banzai/filter/milestone_reference_filter.rb,
lib/banzai/pipeline/broadcast_message_pipeline.rb,
lib/banzai/filter/commit_range_reference_filter.rb,
lib/banzai/filter/merge_request_reference_filter.rb,
lib/banzai/filter/external_issue_reference_filter.rb,
lib/banzai/pipeline/reference_extraction_pipeline.rb

Defined Under Namespace

Modules: CrossProjectReference, Filter, Pipeline, Querying, Renderer Classes: FilterArray, LazyReference, ReferenceExtractor

Class Method Summary collapse

Class Method Details

.post_process(html, context) ⇒ Object


14
15
16
# File 'lib/banzai.rb', line 14

def self.post_process(html, context)
  Renderer.post_process(html, context)
end

.pre_process(text, context) ⇒ Object


10
11
12
# File 'lib/banzai.rb', line 10

def self.pre_process(text, context)
  Renderer.pre_process(text, context)
end

.render(text, context = {}) ⇒ Object


2
3
4
# File 'lib/banzai.rb', line 2

def self.render(text, context = {})
  Renderer.render(text, context)
end

.render_result(text, context = {}) ⇒ Object


6
7
8
# File 'lib/banzai.rb', line 6

def self.render_result(text, context = {})
  Renderer.render_result(text, context)
end