Sha256: 16d2e8293498462c086b7f8191b73d86c7af7b5e6c9419cad01cfe6c2193f2ed

Contents?: true

Size: 702 Bytes

Versions: 7

Compression:

Stored size: 702 Bytes

Contents

// .basic
// The block_toc node is used only with toc::[] macro!
// Actual TOC content is rendered in block_outline, this template usually
// renders just a "border".
= Document Title
:toc:
:toc-placement!:

== Introduction

toc::[]

== The Ravages of Writing

=== A Recipe for Potion

// .with_title
= Document Title
:toc:
:toc-placement!:

== Introduction

toc::[title="Table of Adventures"]

== The Ravages of Writing

// .with_levels
= Document Title
:toc:
:toc-placement!:

== Introduction

toc::[levels=1]

== The Ravages of Writing

=== A Recipe for Potion

// .with_id_and_role
= Document Title
:toc:
:toc-placement!:

== Introduction

toc::[id="mytoc", role="taco"]

== The Ravages of Writing

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
asciidoctor-doctest-2.0.0.beta.2 data/examples/asciidoc/block_toc.adoc
asciidoctor-doctest-2.0.0.beta.1 data/examples/asciidoc/block_toc.adoc
asciidoctor-doctest-1.5.2.0 data/examples/asciidoc/block_toc.adoc
asciidoctor-doctest-1.5.1.2 data/examples/asciidoc/block_toc.adoc
asciidoctor-doctest-1.5.1.1 data/examples/asciidoc/block_toc.adoc
asciidoctor-doctest-1.5.1 data/examples/asciidoc/block_toc.adoc
asciidoctor-doctest-1.5.0 data/examples/asciidoc/block_toc.adoc