Sha256: 05a1c60c34a3a0e1d3e87e1c81edae04b0a08f2db48aff321ace6e9fbc709aaf
Contents?: true
Size: 284 Bytes
Versions: 30
Compression:
Stored size: 284 Bytes
Contents
module Nexmo module OAS module Renderer module Filters class Frontmatter < Banzai::Filter def call(input) # Remove frontmatter from the input input.gsub(/\A(---.+?---)/mo, '') end end end end end end
Version data entries
30 entries across 30 versions & 1 rubygems