Sha256: 1c20219d7fe65e77115239b12806e3bc22fa5b9ff2f48f9fc69df8e87db12659

Contents?: true

Size: 609 Bytes

Versions: 5

Compression:

Stored size: 609 Bytes

Contents

div.colist(id=node.$id(),class=[node.$style(), node.$role()])
  if node.$title() != false
    div.title !{node.$title()}
  if node.document.$attr("icons", false)
    - font_icons = node.document.$attr("icons") == "font"
    table
      each item,i in node.$items()
        - num = i + 1
        tr
          td
            if font_icons
              i.conum(data-value=num)
              b !{num}
            else
              img(src=node.$icon_uri("callouts/#{num}"),alt=num)
          td !{item.$text()}
  else
    ol
      each item in node.$items()
        li
          p
            | !{item.$text()}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
asciidoctor-revealjs-1.0.4 templates/jade/colist.jade
asciidoctor-revealjs-1.0.3 templates/jade/colist.jade
asciidoctor-revealjs-1.0.2 templates/jade/colist.jade
asciidoctor-revealjs-1.0.1 templates/jade/colist.jade
asciidoctor-revealjs-1.0.0 templates/jade/colist.jade