Sha256: 543ab61d9816894be966e3840614113c21cbac67b0ce5739d396b232b4646407

Contents?: true

Size: 288 Bytes

Versions: 3

Compression:

Stored size: 288 Bytes

Contents

# TODO add these methods to Asciidoctor core
class Asciidoctor::List
  # Check whether this list is an outline list (unordered or ordered).
  #
  # Return true if this list is an outline list. Otherwise, return false.
  def outline?
    @context == :ulist || @context == :olist
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
asciidoctor-pdf-1.5.0.alpha.9 lib/asciidoctor-pdf/asciidoctor_ext/list.rb
asciidoctor-pdf-1.5.0.alpha.8 lib/asciidoctor-pdf/asciidoctor_ext/list.rb
asciidoctor-pdf-1.5.0.alpha.7 lib/asciidoctor-pdf/asciidoctor_ext/list.rb