diff options
-rw-r--r-- | haddock-library/src/Documentation/Haddock/Parser.hs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/haddock-library/src/Documentation/Haddock/Parser.hs b/haddock-library/src/Documentation/Haddock/Parser.hs index 860271e1..37bf4ca7 100644 --- a/haddock-library/src/Documentation/Haddock/Parser.hs +++ b/haddock-library/src/Documentation/Haddock/Parser.hs @@ -342,11 +342,9 @@ takeNonEmptyLine = do -- | Blocks of text of the form: -- --- @ --- > foo --- > bar --- > baz --- @ +-- >> foo +-- >> bar +-- >> baz -- birdtracks :: Parser (DocH mod a) birdtracks = DocCodeBlock . DocString . intercalate "\n" . stripSpace <$> many1 line @@ -409,7 +407,7 @@ property :: Parser (DocH mod a) property = DocProperty . strip . decodeUtf8 <$> ("prop>" *> takeWhile1 (/= '\n')) -- | --- Paragraph level codeblock. Anything between the two delimiting @ is parsed +-- Paragraph level codeblock. Anything between the two delimiting \@ is parsed -- for markup. codeblock :: Parser (DocH mod Identifier) codeblock = |