debian-mirror-gitlab/lib/banzai/pipeline/wiki_pipeline.rb

13 lines
326 B
Ruby
Raw Permalink Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
module Banzai
module Pipeline
class WikiPipeline < FullPipeline
def self.filters
2023-03-04 22:38:38 +05:30
@filters ||= super.insert_before(Filter::ImageLazyLoadFilter, Filter::GollumTagsFilter)
2016-06-02 11:05:42 +05:30
.insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
end
end
end
end