packages feed

asciidoc-0.1: test/asciidoctor/outline/basic.test

= Document Title
:toc:

== Section 1

== Section 2

=== Section 2.1

==== Section 2.1.1

== Section 3
>>>
Document
  { docMeta =
      Meta
        { docTitle = [ Inline mempty (Str "Document Title") ]
        , docTitleAttributes = Nothing
        , docAuthors = []
        , docRevision = Nothing
        , docAttributes = fromList [ ( "sectids" , "" ) , ( "toc" , "" ) ]
        }
  , docBlocks =
      [ Block
          Attr
          ( [] , fromList [ ( "id" , "_section_1" ) ] )
          Nothing
          (Section (Level 1) [ Inline mempty (Str "Section 1") ] [])
      , Block
          Attr
          ( [] , fromList [ ( "id" , "_section_2" ) ] )
          Nothing
          (Section
             (Level 1)
             [ Inline mempty (Str "Section 2") ]
             [ Block
                 Attr
                 ( [] , fromList [ ( "id" , "_section_2_1" ) ] )
                 Nothing
                 (Section
                    (Level 2)
                    [ Inline mempty (Str "Section 2.1") ]
                    [ Block
                        Attr
                        ( [] , fromList [ ( "id" , "_section_2_1_1" ) ] )
                        Nothing
                        (Section (Level 3) [ Inline mempty (Str "Section 2.1.1") ] [])
                    ])
             ])
      , Block
          Attr
          ( [] , fromList [ ( "id" , "_section_3" ) ] )
          Nothing
          (Section (Level 1) [ Inline mempty (Str "Section 3") ] [])
      ]
  }