2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-09-10 17:25:29 +05:30
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
|
|
|
class AsciiDocPipeline < BasePipeline
|
|
|
|
def self.filters
|
|
|
|
FilterArray[
|
2019-09-30 21:07:59 +05:30
|
|
|
Filter::AsciiDocSanitizationFilter,
|
2019-09-04 21:01:54 +05:30
|
|
|
Filter::AssetProxyFilter,
|
2017-09-10 17:25:29 +05:30
|
|
|
Filter::ExternalLinkFilter,
|
|
|
|
Filter::PlantumlFilter,
|
2019-12-26 22:10:19 +05:30
|
|
|
Filter::ColorFilter,
|
|
|
|
Filter::ImageLazyLoadFilter,
|
|
|
|
Filter::ImageLinkFilter,
|
2022-11-25 23:54:43 +05:30
|
|
|
Filter::WikiLinkFilter,
|
2023-01-13 00:05:48 +05:30
|
|
|
Filter::SyntaxHighlightFilter,
|
2017-09-10 17:25:29 +05:30
|
|
|
Filter::AsciiDocPostProcessingFilter
|
|
|
|
]
|
|
|
|
end
|
2019-09-04 21:01:54 +05:30
|
|
|
|
|
|
|
def self.transform_context(context)
|
|
|
|
Filter::AssetProxyFilter.transform_context(context)
|
|
|
|
end
|
2017-09-10 17:25:29 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|