1 2 3 4 5 6 7 8 9
module Nuldoc module Extensions class LangAttributeProcessor < Asciidoctor::Extensions::TreeProcessor def process(doc) doc.attributes['lang'] ||= 'ja-JP' end end end end