Sha256: 9acd072319152b1e580314e792197693f95f8f95b7462a856e73074e19c3398f
Contents?: true
Size: 413 Bytes
Versions: 13
Compression:
Stored size: 413 Bytes
Contents
require 'asciidoctor' require 'asciidoctor/extensions' class PreambleProcessor < Asciidoctor::Extensions::IncludeProcessor def process doc, reader, target, attributes content = [] content << "He took his vorpal sword in hand," content << "Longtime the manxome foe he sought" reader.push_include content, target, target, 1, attributes # reader.push_include content reader end end
Version data entries
13 entries across 13 versions & 1 rubygems