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