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

13 lines
324 B
Ruby
Raw Normal View History

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_after(Filter::TableOfContentsFilter, 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