class ReverseAsciidoctor::Converters::Div
Public Instance Methods
convert(node, state = {})
click to toggle source
# File lib/reverse_asciidoctor/converters/div.rb, line 4 def convert(node, state = {}) id = node['id'] anchor = id ? "[[#{id}]]\n" : "" "\n#{anchor}" << treat_children(node, state) << "\n" end