Sha256: 44c0e297f5e1165f3fdb8b2dd926da677cd39dd0aacdd825af695be3bb8beb77

Contents?: true

Size: 274 Bytes

Versions: 8

Compression:

Stored size: 274 Bytes

Contents

- if (keys = attr 'keys').size == 1
  = html_tag('kbd', data_attrs(@attributes))
    = keys.first
- else
  = html_tag('span', { :class => ['keyseq'] }.merge(data_attrs(@attributes)))
    - keys.each_with_index do |key, idx|
      - unless idx.zero?
        |+
      kbd=key

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.1.0 templates/inline_kbd.html.slim
asciidoctor-revealjs-5.0.1 templates/inline_kbd.html.slim
asciidoctor-revealjs-5.0.0.rc1 templates/inline_kbd.html.slim
asciidoctor-revealjs-4.1.0 templates/inline_kbd.html.slim
asciidoctor-revealjs-4.1.0.rc5 templates/inline_kbd.html.slim
asciidoctor-revealjs-4.1.0.rc4 templates/inline_kbd.html.slim
asciidoctor-revealjs-4.1.0.rc3 templates/inline_kbd.html.slim
asciidoctor-revealjs-4.1.0.rc2 templates/inline_kbd.html.slim