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

15 lines
355 B
Ruby
Raw 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
2016-06-02 11:05:42 +05:30
@filters ||= begin
super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter)
.insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
end
end
end
end
end