debian-mirror-gitlab/lib/banzai/pipeline/wiki_pipeline.rb
2021-04-29 21:17:54 +05:30

14 lines
354 B
Ruby

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