class Asciidoctor::Callouts

def read_next_id

Returns The unique String id of the next callout in the document

callout that was generated during parsing.
This method is used during conversion to retrieve the unique id of the
Reads the next callout index in the document and advances the pointer.

Public: Get the next callout index in the document
def read_next_id
  id = nil
  list = current_list
  if @co_index <= list.size
    id = list[@co_index - 1][:id]
  end
  @co_index += 1
  id
end