BigW Consortium Gitlab

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