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

note_pipeline.rb « pipeline « banzai « lib - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 4480d7ede055752564e9470bf686f6cfd624c60a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

module Banzai
  module Pipeline
    class NotePipeline < FullPipeline
      def self.transform_context(context)
        super(context).merge(
          # TableOfContentsFilter
          no_header_anchors: true
        )
      end
    end
  end
end