Sha256: 8ca77efac144cc943bbcb53f1b8b885fba92691f5b6b5e42e788732d452426d1

Contents?: true

Size: 643 Bytes

Versions: 16

Compression:

Stored size: 643 Bytes

Contents

= block_with_title :class=>'hdlist'
  table
    - if (attr? :labelwidth) || (attr? :itemwidth)
      colgroup
        col style=style_value(width: [(attr :labelwidth), '%'])
        col style=style_value(width: [(attr :itemwidth), '%'])
    - items.each do |terms, dd|
      tr
        th.hdlist1 class=('strong' if option? 'strong')
          - terms = [*terms]
          - terms.each_with_index do |dt, idx|
            =dt.text
            - unless idx >= terms.count - 1
              br
        td.hdlist2
          - unless dd.nil?
            - if dd.text?
              p =dd.text
            - if dd.blocks?
              =dd.content

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
asciidoctor-html5s-0.4.1 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.4.0 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.3.0 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.2.1 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.2.0 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.11 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.10 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.9 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.8 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.7 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.6 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.5 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.4 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.3 data/templates/_hdlist.html.slim
asciidoctor-html5s-0.1.0.beta.1 data/templates/_hdlist.html.slim