asciidoc-0.1: test/asciidoctor/embedded/toc.test
// Actual TOC content is rendered in the outline template, this template
// usually renders just a "border".
= Document Title
:toc:
== Cavern Glow
>>>
Document
{ docMeta =
Meta
{ docTitle = [ Inline mempty (Str "Document Title") ]
, docTitleAttributes = Nothing
, docAuthors = []
, docRevision = Nothing
, docAttributes = fromList [ ( "sectids" , "" ) , ( "toc" , "" ) ]
}
, docBlocks =
[ Block
Attr
( [] , fromList [ ( "id" , "_cavern_glow" ) ] )
Nothing
(Section (Level 1) [ Inline mempty (Str "Cavern Glow") ] [])
]
}