Welcome to mirror list, hosted at ThFree Co, Russian Federation.

wiki_pipeline.rb « pipeline « banzai « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: caba9570ab9bd662738f828f486e5d8468956fc9 (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_before(Filter::ImageLazyLoadFilter, Filter::GollumTagsFilter)
               .insert_before(Filter::TaskListFilter, Filter::WikiLinkFilter)
        end
      end
    end
  end
end