Sha256: f1c736e025b3a44b57a2cda16ebf5c26cf3344a4a1c5b15f1a49f996ebba8a9b

Contents?: true

Size: 447 Bytes

Versions: 1

Compression:

Stored size: 447 Bytes

Contents

- _has_title = title?
- content_for :ol
  ol id=id class=[(style unless style == 'arabic'), ('fit' if (_fit = option? :fit)), *build_roles, role] reversed=('true' if option? :reversed)
    - items.each do |_item|
      li class=('line' if _fit)
        span.primary=_item.text
        - if _item.blocks?
          =_item.content
- if _has_title
  figure.list.ordered id=id
    figcaption=title
    - yield_content :ol
- else
  - yield_content :ol

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-bespoke-1.0.0.alpha.1 templates/slim/olist.html.slim