@@ -44,14 +44,13 @@ declAsMarkdown RenderedDeclaration{..} = do
44 zipWithM_ (\f c -> tell' (childToString f c)) (First : repeat NotFirst) children
44 zipWithM_ (\f c -> tell' (childToString f c)) (First : repeat NotFirst) children
47+ for_ rdComments tell'
47 unless (null instances) $ do
49 unless (null instances) $ do
48 headerLevel 5 "Instances"
50 headerLevel 5 "Instances"
50− mapM_ (tell' . childToString NotFirst) instances
51+ fencedBlock $ mapM_ (tell' . childToString NotFirst) instances
53− for_ rdComments tell'
55codeToString :: RenderedCode -> String
54codeToString :: RenderedCode -> String
56codeToString = outputWith elemAsMarkdown
55codeToString = outputWith elemAsMarkdown