# File lib/asciidoctor/section.rb, line 104 def sectnum(delimiter = '.', append = nil) append ||= (append == false ? '' : delimiter) if @level && @level > 1 && @parent && @parent.context == :section %(#{@parent.sectnum(delimiter)}#{@number}#{append}) else %(#{@number}#{append}) end end