Sha256: c3e73fbd8a81461964e59059e3f3768eab5efa4fcb7753fadc75af1070752bf8

Contents?: true

Size: 363 Bytes

Versions: 20

Compression:

Stored size: 363 Bytes

Contents

- unless sections.empty?
  - toclevels ||= (document.attr 'toclevels', DEFAULT_TOCLEVELS).to_i
  - slevel = section_level sections.first
  ol class="sectlevel#{slevel}"
    - sections.each do |sec|
      li
        a href="##{sec.id}" =section_title sec
        - if (sec.level < toclevels) && (child_toc = converter.convert sec, 'outline')
          = child_toc

Version data entries

20 entries across 20 versions & 2 rubygems

Version Path
asciidoctor-revealjs-5.2.0 templates/outline.html.slim
asciidoctor-revealjs-5.1.0 templates/outline.html.slim
asciidoctor-revealjs-5.0.1 templates/outline.html.slim
asciidoctor-revealjs-5.0.0.rc1 templates/outline.html.slim
asciidoctor-revealjs-4.1.0 templates/outline.html.slim
asciidoctor-revealjs-4.1.0.rc5 templates/outline.html.slim
asciidoctor-revealjs-4.1.0.rc4 templates/outline.html.slim
asciidoctor-revealjs-4.1.0.rc3 templates/outline.html.slim
asciidoctor-revealjs-4.1.0.rc2 templates/outline.html.slim
asciidoctor-revealjs-4.0.1 templates/outline.html.slim
asciidoctor-revealjs-4.0.0 templates/outline.html.slim
asciidoctor-revealjs-3.1.0 templates/outline.html.slim
asciidoctor-revealjs-3.0.0 templates/outline.html.slim
asciidoctor-revealjs-3.0.0.pre.rc1 templates/outline.html.slim
asciidoctor-revealjs-2.0.1 templates/outline.html.slim
asciidoctor-revealjs-2.0.0 templates/outline.html.slim
asciidoctor-revealjs-1.1.3 templates/outline.html.slim
asciidoctor-revealjs-1.1.1 templates/outline.html.slim
asciidoctor-revealjs-1.1.0 templates/outline.html.slim
asciidoctor-html5s-0.1.0.beta.1 data/templates/outline.html.slim