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
asciidoctor-revealjs-1.1.3 templates/open.html.slim
asciidoctor-revealjs-1.1.1 templates/open.html.slim
asciidoctor-revealjs-1.1.0 templates/open.html.slim
asciidoctor-revealjs-1.0.4 templates/slim/block_open.html.slim
asciidoctor-revealjs-1.0.3 templates/slim/block_open.html.slim
asciidoctor-revealjs-1.0.2 templates/slim/block_open.html.slim
asciidoctor-revealjs-1.0.1 templates/slim/block_open.html.slim
asciidoctor-revealjs-1.0.0 templates/slim/block_open.html.slim
hyla-1.0.9 lib/resources/backends/slim/html5/block_open.html.slim
hyla-1.0.9 lib/resources/backends/slim/revealjs-redhat/block_open.html.slim
hyla-1.0.9 lib/resources/backends/slim/revealjs/block_open.html.slim
hyla-1.0.9.pre.3 lib/resources/backends/slim/revealjs-redhat/block_open.html.slim
hyla-1.0.9.pre.3 lib/resources/backends/slim/revealjs/block_open.html.slim
hyla-1.0.9.pre.3 lib/resources/backends/slim/html5/block_open.html.slim
hyla-1.0.9.pre.2 lib/resources/backends/slim/html5/block_open.html.slim
hyla-1.0.9.pre.2 lib/resources/backends/slim/revealjs/block_open.html.slim
hyla-1.0.9.pre.2 lib/resources/backends/slim/revealjs-redhat/block_open.html.slim
hyla-1.0.9.pre.1 lib/resources/backends/slim/revealjs/block_open.html.slim
hyla-1.0.9.pre.1 lib/resources/backends/slim/html5/block_open.html.slim
hyla-1.0.9.pre.1 lib/resources/backends/slim/revealjs-redhat/block_open.html.slim