haddock2/test/markup.md

1.3 KiB

/emphasized text/

bold text

@monospace text@

"Module.Name" "Module.Name#anchor" "Module.Name#anchor"

http://example.com <http://example.com label text>

http://example.com https://example.com ftp://example.com

link text link text

#anchor-name#

'identifier'

<<image.png>> <<image.png title text>>

alt text

mathematical 1+3 expression

[mathematical expression accross lines with + addition and such ]

&#123 &#x65 &#165

@ code block content with multiple lines @

code line 1 code line 2

expression result line 1 result line 2

another expression result

prop> property description

  • item 1
  • item 2 continued content
  • item 1
  • item 2
  1. item 1
  2. item 2

(1) item 1 (2) item 2

[term] definition content [another term] more definition content

+----------+----------+ | Header 1 | Header 2 | +==========+==========+ | Cell 1 | Cell 2 | +----------+----------+ | Cell 3 | Cell 4 | +----------+----------+

= Level 1 Header == Level 2 Header === Level 3 Header ==== Level 4 Header ===== Level 5 Header ====== Level 6 Header

@since package-name-1.2.3 @since 1.2.3

A (decimal) A (hexadecimal) A (hexadecimal)

This @escapes@ at signs