debian-mirror-gitlab/lib/banzai/pipeline/wiki_pipeline.rb
2023-03-04 22:38:38 +05:30

12 lines
326 B
Ruby

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