gitlab-org--gitlab-foss/lib/banzai/pipeline/wiki_pipeline.rb

12 lines
324 B
Ruby

module Banzai
module Pipeline
class WikiPipeline < FullPipeline
def self.filters
@filters ||= begin
super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter)
.insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
end
end
end
end
end