Class: Banzai::Pipeline::MarkupPipeline

Inherits:
BasePipeline show all
Defined in:
lib/banzai/pipeline/markup_pipeline.rb

Class Method Summary collapse

Methods inherited from BasePipeline

html_pipeline

Class Method Details

.filtersObject


6
7
8
9
10
11
12
13
14
# File 'lib/banzai/pipeline/markup_pipeline.rb', line 6

def self.filters
  @filters ||= FilterArray[
    Filter::SanitizationFilter,
    Filter::AssetProxyFilter,
    Filter::ExternalLinkFilter,
    Filter::PlantumlFilter,
    Filter::SyntaxHighlightFilter
  ]
end

.transform_context(context) ⇒ Object


16
17
18
# File 'lib/banzai/pipeline/markup_pipeline.rb', line 16

def self.transform_context(context)
  Filter::AssetProxyFilter.transform_context(context)
end