wiki_pipeline.rb 324 Bytes
Newer Older
1
2
module Banzai
  module Pipeline
3
4
    class WikiPipeline < FullPipeline
      def self.filters
Gabriel Mazetto's avatar
Gabriel Mazetto committed
5
        @filters ||= begin
Douwe Maan's avatar
Douwe Maan committed
6
7
          super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter)
               .insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
Gabriel Mazetto's avatar
Gabriel Mazetto committed
8
        end
9
      end
10
11
12
    end
  end
end