Sha256: bdf064e780873373e3fc34a5f7e361b859d6186dfd3792cb66454c292a3b631a

Contents?: true

Size: 406 Bytes

Versions: 15

Compression:

Stored size: 406 Bytes

Contents

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

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
asciidoctor-revealjs-4.0.1 templates/inline_menu.html.slim
asciidoctor-revealjs-4.0.0 templates/inline_menu.html.slim
asciidoctor-revealjs-3.1.0 templates/inline_menu.html.slim
asciidoctor-revealjs-3.0.0 templates/inline_menu.html.slim
asciidoctor-revealjs-3.0.0.pre.rc1 templates/inline_menu.html.slim
asciidoctor-revealjs-2.0.1 templates/inline_menu.html.slim
asciidoctor-revealjs-2.0.0 templates/inline_menu.html.slim
asciidoctor-revealjs-1.1.3 templates/inline_menu.html.slim
asciidoctor-revealjs-1.1.1 templates/inline_menu.html.slim
asciidoctor-revealjs-1.1.0 templates/inline_menu.html.slim
asciidoctor-revealjs-1.0.4 templates/slim/inline_menu.html.slim
asciidoctor-revealjs-1.0.3 templates/slim/inline_menu.html.slim
asciidoctor-revealjs-1.0.2 templates/slim/inline_menu.html.slim
asciidoctor-revealjs-1.0.1 templates/slim/inline_menu.html.slim
asciidoctor-revealjs-1.0.0 templates/slim/inline_menu.html.slim