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

15 lines
266 B
Ruby

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