No plans to allow indented code fence blocks

Support for the indented blocks isn't consistent, so it seems easier to just
avoid trying to support this feature.
This commit is contained in:
Trevor Elliott 2014-05-06 10:59:29 -07:00
parent 87042d4604
commit f1f1991ce0

View File

@ -97,7 +97,6 @@ markdown = blanks []
| otherwise = fenced (l : current) ls | otherwise = fenced (l : current) ls
-- XXX: the fences may be indented.
isOpenFence l = "```cryptol" `Text.isPrefixOf` l isOpenFence l = "```cryptol" `Text.isPrefixOf` l
isCloseFence l = "```" `Text.isPrefixOf` l isCloseFence l = "```" `Text.isPrefixOf` l
isBlank l = Text.all isSpace l isBlank l = Text.all isSpace l