2018-12-13 13:39:08 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-01-19 16:12:03 +05:30
|
|
|
module Banzai
|
|
|
|
module Pipeline
|
|
|
|
class WikiPipeline < FullPipeline
|
|
|
|
def self.filters
|
2016-06-02 11:05:42 +05:30
|
|
|
@filters ||= begin
|
2021-04-29 21:17:54 +05:30
|
|
|
super.insert_before(Filter::ImageLazyLoadFilter, Filter::GollumTagsFilter)
|
2016-06-02 11:05:42 +05:30
|
|
|
.insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
|
|
|
|
end
|
2016-01-19 16:12:03 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|