45a04f9374
This adds 'data-sourcepos' to tags, indicating which line of markdown it came from. Sets the stage for intelligently manipulating specific lines of markdown.
15 lines
291 B
Ruby
15 lines
291 B
Ruby
# frozen_string_literal: true
|
|
|
|
module Banzai
|
|
module Pipeline
|
|
class AtomPipeline < FullPipeline
|
|
def self.transform_context(context)
|
|
super(context).merge(
|
|
only_path: false,
|
|
xhtml: true,
|
|
no_sourcepos: true
|
|
)
|
|
end
|
|
end
|
|
end
|
|
end
|