asciidoc-0.1: test/asciidoctor/toc/with-title.test
= Document Title
:toc: macro
== Introduction
toc::[title="Table of Adventures"]
== The Ravages of Writing
>>>
Document
{ docMeta =
Meta
{ docTitle = [ Inline mempty (Str "Document Title") ]
, docTitleAttributes = Nothing
, docAuthors = []
, docRevision = Nothing
, docAttributes =
fromList [ ( "sectids" , "" ) , ( "toc" , "macro" ) ]
}
, docBlocks =
[ Block
Attr
( [] , fromList [ ( "id" , "_introduction" ) ] )
Nothing
(Section
(Level 1)
[ Inline mempty (Str "Introduction") ]
[ Block
Attr
( [] , fromList [ ( "title" , "Table of Adventures" ) ] )
Nothing
TOC
])
, Block
Attr
( [] , fromList [ ( "id" , "_the_ravages_of_writing" ) ] )
Nothing
(Section
(Level 1) [ Inline mempty (Str "The Ravages of Writing") ] [])
]
}