2018-10-06 19:10:08 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-05-09 08:14:24 -04:00
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
|
|
|
class AsciiDocPipeline < BasePipeline
|
|
|
|
def self.filters
|
|
|
|
FilterArray[
|
2019-07-03 04:53:00 -04:00
|
|
|
Filter::AsciiDocSanitizationFilter,
|
2019-02-20 18:51:55 -05:00
|
|
|
Filter::AssetProxyFilter,
|
2019-06-19 02:37:48 -04:00
|
|
|
Filter::SyntaxHighlightFilter,
|
2017-05-09 08:14:24 -04:00
|
|
|
Filter::ExternalLinkFilter,
|
|
|
|
Filter::PlantumlFilter,
|
2019-10-21 08:06:14 -04:00
|
|
|
Filter::ColorFilter,
|
2019-10-28 17:06:24 -04:00
|
|
|
Filter::ImageLazyLoadFilter,
|
|
|
|
Filter::ImageLinkFilter,
|
2017-05-09 08:14:24 -04:00
|
|
|
Filter::AsciiDocPostProcessingFilter
|
|
|
|
]
|
|
|
|
end
|
2019-02-20 18:51:55 -05:00
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
Filter::AssetProxyFilter.transform_context(context)
|
|
|
|
end
|
2017-05-09 08:14:24 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|