mdgriffith / elm-markup

Elm-friendly markup

Home Page:https://package.elm-lang.org/packages/mdgriffith/elm-markup/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

leading and trailing spaces do not seem to be allowed

BrianHicks opened this issue · comments

a document that looks like this:

doc =
    """
| Title
    My Brilliant Blog Post
"""

will fail to parse, due to whitespace before and after the doc. It works if you pass the string into String.trim though!

Fixed in v3! (again, thanks for so many great issues)