asciidoc-0.1: test/asciidoctor/outline/sectnumlevels.test
= Document Title
:toc:
:toclevels: 3
:numbered:
:sectnumlevels: 1
== Section 1
=== Section 1.1
==== Section 1.1.1
== Section 2
>>>
Document
{ docMeta =
Meta
{ docTitle = [ Inline mempty (Str "Document Title") ]
, docTitleAttributes = Nothing
, docAuthors = []
, docRevision = Nothing
, docAttributes =
fromList
[ ( "numbered" , "" )
, ( "sectids" , "" )
, ( "sectnumlevels" , "1" )
, ( "toc" , "" )
, ( "toclevels" , "3" )
]
}
, docBlocks =
[ Block
Attr
( [] , fromList [ ( "id" , "_section_1" ) ] )
Nothing
(Section
(Level 1)
[ Inline mempty (Str "Section 1") ]
[ Block
Attr
( [] , fromList [ ( "id" , "_section_1_1" ) ] )
Nothing
(Section
(Level 2)
[ Inline mempty (Str "Section 1.1") ]
[ Block
Attr
( [] , fromList [ ( "id" , "_section_1_1_1" ) ] )
Nothing
(Section (Level 3) [ Inline mempty (Str "Section 1.1.1") ] [])
])
])
, Block
Attr
( [] , fromList [ ( "id" , "_section_2" ) ] )
Nothing
(Section (Level 1) [ Inline mempty (Str "Section 2") ] [])
]
}