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