git.iko.soy/typeable/servant
on master help sign in
Make sure code blocks are indented in markdown documentation
4f8df0eIvan Lazar Miljenovic
servant-docs/src/Servant/Docs/Internal.hs+3−2
@@ -653,11 +653,12 @@ markdown api = unlines $
653 ("text", "css") -> "css"
653 ("text", "css") -> "css"
654 (_, _) -> ""
654 (_, _) -> ""
655
655
656+
656 contentStr mime_type body =
657 contentStr mime_type body =
657 "" :
658 "" :
658− "```" <> markdownForType mime_type :
659+ " ```" <> markdownForType mime_type :
659 cs body :
660 cs body :
660− "```" :
661+ " ```" :
661 "" :
662 "" :
662 []
663 []
663
664