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

13 lines
324 B
Ruby
Raw Normal View History

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