summaryrefslogtreecommitdiff
path: root/lib/gitlab/markdown/pipeline/note_pipeline.rb
blob: a8bf5f42d8e18700abd0bf83a64238a0d5e4aaa6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
require 'gitlab/markdown'

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