gitlab-org--gitlab-foss/lib/banzai/pipeline/note_pipeline.rb

13 lines
248 B
Ruby

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