class Asciidoctor::List

Public: Methods for managing AsciiDoc lists (ordered, unordered and description lists)

def convert

def convert
  if @context == :colist
    result = super
    @document.callouts.next_list
    result
  else
    super
  end
end

def initialize parent, context, opts = {}

def initialize parent, context, opts = {}
  super
end

def outline?

Return true if this list is an outline list. Otherwise, return false.

Check whether this list is an outline list (unordered or ordered).
def outline?
  @context == :ulist || @context == :olist
end

def to_s

def to_s
  %(#<#{self.class}@#{object_id} {context: #{@context.inspect}, style: #{@style.inspect}, items: #{items.size}}>)
end