Method: IsoDoc::Function::Lists#ol_parse

Defined in:
lib/isodoc/function/lists.rb

#ol_parse(node, out) ⇒ Object



37
38
39
40
41
42
# File 'lib/isodoc/function/lists.rb', line 37

def ol_parse(node, out)
  style = ol_depth(node)
  out.ol **attr_code(type: style, id: node["id"] ) do |ol|
    node.children.each { |n| parse(n, ol) }
  end
end