Sha256: 0116ae14e58d1d67c27aef93fc33e5c310eef8742fd18c8e34319f15eb34f69a
Contents?: true
Size: 320 Bytes
Versions: 10
Compression:
Stored size: 320 Bytes
Contents
module ReverseAsciidoctor module Converters class Div < Base def convert(node, state = {}) id = node['id'] anchor = id ? "[[#{id}]]\n" : "" "\n#{anchor}" << treat_children(node, state) << "\n" end end register :div, Div.new register :article, Div.new end end
Version data entries
10 entries across 10 versions & 2 rubygems