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

Version Path
hyla-1.0.9 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.9.pre.3 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.9.pre.2 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.9.pre.1 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.8 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.9 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.8 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.7 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.6 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.5 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.3 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.2 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.7.pre.1 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.6 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.5 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.5.pre.1 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.4 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.3 lib/resources/backends/slim/docbook45/block_open.xml.slim
hyla-1.0.2 lib/resources/backends/slim/docbook45/block_open.xml.slim