Sha256: a76a937d0e395fe0dc82f7f7395064af413736f7fef330980ea06a051634fa3c

Contents?: true

Size: 820 Bytes

Versions: 16

Compression:

Stored size: 820 Bytes

Contents

/ this made tests crash so I replaced it with asciidoctor-backends HTML5 slim template
/- if @document.attr? :toc
/  - toc_id = @id
/  - toc_role = (attr 'role', (@document.attr 'toc-class', 'toc'))
/  - toc_title_id = nil
/  - toc_title = title? ? title : (@document.attr 'toc-title')
/  - toc_levels = (attr? :levels) ? (attr :levels).to_i : (@document.attr :toclevels, 2).to_i
/  - if !toc_id && (@document.embedded? || !(@document.attr? 'toc-placement'))
/    - toc_id = 'toc'
/    - toc_title_id = 'toctitle'
/  div id=toc_id class=toc_role
/    .title id=toc_title_id =toc_title
/    =Asciidoctor::HTML5::DocumentTemplate.outline(@document, toc_levels)
#toc class=(document.attr 'toc-class', 'toc')
  #toctitle =(document.attr 'toc-title')
  / Renders block_outline.html.
  = converter.convert document, 'outline'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
asciidoctor-revealjs-5.2.0 templates/toc.html.slim
asciidoctor-revealjs-5.1.0 templates/toc.html.slim
asciidoctor-revealjs-5.0.1 templates/toc.html.slim
asciidoctor-revealjs-5.0.0.rc1 templates/toc.html.slim
asciidoctor-revealjs-4.1.0 templates/toc.html.slim
asciidoctor-revealjs-4.1.0.rc5 templates/toc.html.slim
asciidoctor-revealjs-4.1.0.rc4 templates/toc.html.slim
asciidoctor-revealjs-4.1.0.rc3 templates/toc.html.slim
asciidoctor-revealjs-4.1.0.rc2 templates/toc.html.slim
asciidoctor-revealjs-4.0.1 templates/toc.html.slim
asciidoctor-revealjs-4.0.0 templates/toc.html.slim
asciidoctor-revealjs-3.1.0 templates/toc.html.slim
asciidoctor-revealjs-3.0.0 templates/toc.html.slim
asciidoctor-revealjs-3.0.0.pre.rc1 templates/toc.html.slim
asciidoctor-revealjs-2.0.1 templates/toc.html.slim
asciidoctor-revealjs-2.0.0 templates/toc.html.slim