summaryrefslogtreecommitdiff
path: root/lib/banzai/pipeline/wiki_pipeline.rb
blob: 97a03895ff3ef23b3cc2deed7f2b367d2c727399 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Banzai
  module Pipeline
    class WikiPipeline < FullPipeline
      def self.filters
        @filters ||= begin
          super.insert_after(Filter::TableOfContentsFilter, Filter::GollumTagsFilter)
               .insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
        end
      end
    end
  end
end