Sha256: 352d59e222279adf9cfe7b183b6f1a606157e8ef3f24eaa34e755cd9afec4350
Contents?: true
Size: 727 Bytes
Versions: 62
Compression:
Stored size: 727 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 .quoteblock.abstract id=@id class=role - if title? .title=title blockquote=content - elsif @style == 'partintro' && (@level != 0 || @parent.context != :section || @document.doctype != 'book') - 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 .openblock id=@id class=[(@style != 'open' ? @style : nil),role] - if title? .title=title .content=content
Version data entries
62 entries across 29 versions & 2 rubygems
Version | Path |
---|---|
hyla-1.0.1 | lib/resources/backends/slim/revealjs/block_open.html.slim |
hyla-1.0.1 | lib/resources/backends/slim/html5/block_open.html.slim |