Sha256: 100527f6c885aa186ce5af2408803dc31db466f09242351d6e15d12b44c0733b
Contents?: true
Size: 826 Bytes
Versions: 21
Compression:
Stored size: 826 Bytes
Contents
- case attr 'style' - when 'abstract' - if @parent == @document && @document.doctype == 'book' - puts 'asciidoctor: WARNING: abstract block cannot be used in a document without a title when doctype is book. Excluding block content.' - else abstract - if title? title=title - if blocks? =content - else simpara=content - when 'partintro' - unless @document.doctype == 'book' && @parent.context == :section && @level == 0 - puts 'asciidoctor: ERROR: partintro block can only be used when doctype is book and its a child of a part section. Excluding block content.' - else partintro id=@id role=(attr :role) xreflabel=(attr :reftext) - if title? title=title - if blocks? =content - else simpara=content - else =content
Version data entries
21 entries across 21 versions & 1 rubygems