jekyll/lib/jekyll/converters/identity.rb

24 lines
305 B
Ruby

# frozen_string_literal: true
module Jekyll
module Converters
class Identity < Converter
safe true
priority :lowest
def matches(_ext)
true
end
def output_ext(ext)
ext
end
def convert(content)
content
end
end
end
end