Sha256: 9c9f627c375cd093dd52f24fc107f47002398f55d46e89d38954802271b99a74

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

// NOTE if style is not set, then it's a literal paragraph (not a literal block)
- _has_title = title?
- _role = role
- content_for :pre
  pre.screen id=(id unless _has_title) class=_role : samp =content
- if _has_title
  figure.listing id=id class=_role
    figcaption=title
    - yield_content :pre
- else
  - yield_content :pre

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
asciidoctor-bespoke-1.0.0.alpha.2 templates/slim/literal.html.slim