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: 96b6b9699f4373ab8b72f868810a6a7e181051f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

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