Class: Banzai::Pipeline::AsciiDocPipeline

Inherits:
BasePipeline show all
Defined in:
lib/banzai/pipeline/ascii_doc_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
15
16
17
18
# File 'lib/banzai/pipeline/ascii_doc_pipeline.rb', line 6

def self.filters
  FilterArray[
    Filter::AsciiDocSanitizationFilter,
    Filter::AssetProxyFilter,
    Filter::SyntaxHighlightFilter,
    Filter::ExternalLinkFilter,
    Filter::PlantumlFilter,
    Filter::ColorFilter,
    Filter::ImageLazyLoadFilter,
    Filter::ImageLinkFilter,
    Filter::AsciiDocPostProcessingFilter
  ]
end

.transform_context(context) ⇒ Object


20
21
22
# File 'lib/banzai/pipeline/ascii_doc_pipeline.rb', line 20

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