mirror of
https://github.com/GaloisInc/cryptol.git
synced 2024-12-01 08:32:23 +03:00
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:
parent
87042d4604
commit
f1f1991ce0
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user