debian-mirror-gitlab/lib/banzai/pipeline/ascii_doc_pipeline.rb
2019-09-04 21:01:54 +05:30

21 lines
493 B
Ruby

# frozen_string_literal: true
module Banzai
module Pipeline
class AsciiDocPipeline < BasePipeline
def self.filters
FilterArray[
Filter::SanitizationFilter,
Filter::AssetProxyFilter,
Filter::ExternalLinkFilter,
Filter::PlantumlFilter,
Filter::AsciiDocPostProcessingFilter
]
end
def self.transform_context(context)
Filter::AssetProxyFilter.transform_context(context)
end
end
end
end