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,
|
2022-11-03 20:09:06 -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,
|
2022-10-04 08:08:25 -04:00
|
|
|
Filter::WikiLinkFilter,
|
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
|