Sha256: 4e6d1869589e52252745fea29d3eed8d1ff48c0cc08bf53c20563e46289677c8

Contents?: true

Size: 604 Bytes

Versions: 8

Compression:

Stored size: 604 Bytes

Contents

- menu = attr 'menu'
- menuitem = attr 'menuitem'
- if !(submenus = attr 'submenus').empty?
  = html_tag('span', { :class => ['menuseq'] }.merge(data_attrs(@attributes)))
    span.menu=menu
    | ▸ 
    =submenus.map {|submenu| %(<span class="submenu">#{submenu}</span>&#160;&#9656;&#32;) }.join
    span.menuitem=menuitem
- elsif !menuitem.nil?
  = html_tag('span', { :class => ['menuseq'] }.merge(data_attrs(@attributes)))
    span.menu=menu
    |&#160;&#9656;&#32;
    span.menuitem=menuitem
- else
  = html_tag('span', { :class => ['menu'] }.merge(data_attrs(@attributes)))
    = menu

Version data entries

8 entries across 8 versions & 1 rubygems

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