Fixed exampleLine parser to accept example lines which have indentation at the start of the line.
This commit is contained in:
parent
9f8051d95d
commit
f813755c55
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ exampleCode :: String -> Blocks
|
|||
exampleCode = B.codeBlockWith ("", ["example"], [])
|
||||
|
||||
exampleLine :: OrgParser String
|
||||
exampleLine = try $ string ": " *> anyLine
|
||||
exampleLine = try $ skipSpaces *> string ": " *> anyLine
|
||||
|
||||
-- Drawers for properties or a logbook
|
||||
drawer :: OrgParser (F Blocks)
|
||||
|
|
Loading…
Reference in a new issue