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

15 lines
279 B
Ruby

# 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