Sha256: a830268915becf1723b1595fd9c8e13ea67a902af31a370d1d4daf22c31de0f1
Contents?: true
Size: 772 Bytes
Versions: 21
Compression:
Stored size: 772 Bytes
Contents
- if @style == '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 %div{:id=>@id, :class=>['quoteblock', 'abstract', role]} - if title? .title=title %blockquote=content.chomp - elsif @style == 'partintro' && (@document.doctype != 'book' || @parent.context != :section || @level != 0) - puts 'asciidoctor: ERROR: partintro block can only be used when doctype is book and it\'s a child of a book part. Excluding block content.' - else %div{:id=>@id, :class=>['openblock', (@style != 'open' ? @style : nil), role]} - if title? .title=title .content=content.chomp
Version data entries
21 entries across 21 versions & 1 rubygems