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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
354 B
Ruby
Raw Normal View History

# frozen_string_literal: true
module Banzai
module Pipeline
2016-01-12 11:16:32 -05:00
class WikiPipeline < FullPipeline
def self.filters
2016-03-31 23:17:37 -04:00
@filters ||= begin
super.insert_before(Filter::ImageLazyLoadFilter, Filter::GollumTagsFilter)
.insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
2016-03-31 23:17:37 -04:00
end
2016-01-12 11:16:32 -05:00
end
end
end
end