Sha256: 026171f926408b2cde3d1eb91e2e6a1887590999d445ded88d0121f4d91c3821
Contents?: true
Size: 559 Bytes
Versions: 1
Compression:
Stored size: 559 Bytes
Contents
/ This template is used only for toc::[] macro; for document and preamble TOC / see document.html, preamble.html and _toc.html. - if document.attr? :toc - toc_id = id || ('toc' if document.embedded? || !document.attr?('toc-placement')) nav id=toc_id class=(attr :role, (document.attr 'toc-class', 'toc')) role='doc-toc' h level=(section_level + 2) id=("#{toc_id}-title" if toc_id) =(title || (document.attr 'toc-title')) / Renders outline.html. = converter.convert document, 'outline', :toclevels=>((attr :levels).to_i if attr? :levels)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
asciidoctor-html5s-0.1.0.beta.3 | data/templates/toc.html.slim |