debian-mirror-gitlab/lib/banzai/pipeline/note_pipeline.rb

15 lines
279 B
Ruby
Raw Normal View History

2018-12-13 13:39:08 +05:30
# frozen_string_literal: true
2015-12-23 02:04:40 +05:30
module Banzai
module Pipeline
class NotePipeline < FullPipeline
def self.transform_context(context)
super(context).merge(
# TableOfContentsFilter
no_header_anchors: true
)
end
end
end
end