Sha256: c41b8f09bc1361de4626e75e445aeebfdec4142c760198be7390a1b37f5b7983

Contents?: true

Size: 616 Bytes

Versions: 8

Compression:

Stored size: 616 Bytes

Contents

= html_tag('div', { :id => @id, :class => ['colist', @style, role, ('fragment' if (option? :step) || (attr? 'step'))] }.merge(data_attrs(@attributes)))
  - if title?
    .title=title
  - if @document.attr? :icons
    - font_icons = @document.attr? :icons, 'font'
    table
      - items.each_with_index do |item, i|
        - num = i + 1
        tr
          td
            - if font_icons
              i.conum data-value=num
              b=num
            - else
              img src=icon_uri("callouts/#{num}") alt=num
          td=item.text
  - else
    ol
      - items.each do |item|
        li: p=item.text

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.1.0 templates/colist.html.slim
asciidoctor-revealjs-5.0.1 templates/colist.html.slim
asciidoctor-revealjs-5.0.0.rc1 templates/colist.html.slim
asciidoctor-revealjs-4.1.0 templates/colist.html.slim
asciidoctor-revealjs-4.1.0.rc5 templates/colist.html.slim
asciidoctor-revealjs-4.1.0.rc4 templates/colist.html.slim
asciidoctor-revealjs-4.1.0.rc3 templates/colist.html.slim
asciidoctor-revealjs-4.1.0.rc2 templates/colist.html.slim