Sha256: 62c48e99de8f926b49d26ad4500f3a87c15d865b8bb6bd185c70583a938d21a4

Contents?: true

Size: 703 Bytes

Versions: 2

Compression:

Stored size: 703 Bytes

Contents

// .basic
// The toc node is used only with toc::[] macro!
// Actual TOC content is rendered in the outline template, 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

2 entries across 2 versions & 1 rubygems

Version Path
asciidoctor-doctest-2.0.0.beta.4 data/examples/asciidoc/toc.adoc
asciidoctor-doctest-2.0.0.beta.3 data/examples/asciidoc/toc.adoc