data Inline : TypeText : String -> InlinePre : String -> InlineItalics : List Inline -> InlineBold : List Inline -> InlineLink : List Inline -> String -> InlineImage : String -> String -> InlineHtml : String -> List Inline -> InlineListItem : Typedata Block : TypeHeader : Nat -> List Inline -> BlockUList : List ListItem -> BlockCodeBlock : String -> Maybe String -> BlockHorizontalRules : BlockParagraph : List Inline -> Blockdata Markdown : TypeconcatInlineVals : List Inline -> StringConcatenate a list of inline values to a single string.
normalise : Markdown -> MarkdownConcatenates the successive `Text` within inline elements.
The parser may return successive `Text`. For example: "Hello world!" will
be parsed with two `Text`: "Hello world" and "!". The goal of this function
is to normalise it to "Hello world!".