Code blocks

There are a couple options for code block labels. Those work only if code block id starts with lst:, e.g. {#lst:label}

caption attribute

caption attribute will be treated as code block caption. If code block has both id and caption attributes, it will be treated as numbered code block.

Listing 1: Listing caption

main :: IO ()
main = putStrLn "Hello World!"