packages feed

asciidoc-0.1: test/asciidoctor/inline_anchor/xref-xrefstyle.test

// Supported since Asciidoctor 1.5.6.
:sectnums:
:section-refsig: Sec.
:xrefstyle: short
Refer to <<install>>.

[[install]]
== Installation
>>>
Document
  { docMeta =
      Meta
        { docTitle = []
        , docTitleAttributes = Nothing
        , docAuthors = []
        , docRevision = Nothing
        , docAttributes =
            fromList
              [ ( "sectids" , "" )
              , ( "section-refsig" , "Sec." )
              , ( "sectnums" , "" )
              , ( "xrefstyle" , "short" )
              ]
        }
  , docBlocks =
      [ Block
          mempty
          Nothing
          (Paragraph
             [ Inline mempty (Str "Refer to ")
             , Inline
                 mempty
                 (CrossReference
                    "install" (Just [ Inline mempty (Str "Installation") ]))
             , Inline mempty (Str ".")
             ])
      , Block
          Attr
          ( [] , fromList [ ( "id" , "install" ) ] )
          Nothing
          (Section (Level 1) [ Inline mempty (Str "Installation") ] [])
      ]
  }