Sha256: 944609c7a28d0d6195f4a24c64ec7c31385a86552f7f8a2b8cfcf83db6ce4459
Contents?: true
Size: 493 Bytes
Versions: 1
Compression:
Stored size: 493 Bytes
Contents
- _has_title = title? - content_for :ol ol id=(id unless _has_title) class=[(style unless style == 'arabic'), ('fit' if (_fit = option? :fit)), *build_roles, role] start=(local_attr :start) 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.2 | templates/slim/olist.html.slim |