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

Add more context to parsing errors.

mdgriffith opened this issue · comments

The context is already tracked, so the errors should be easy to write.

An example being a list with incorrect indentation:

|> List
    - Item 1
    - Item 2

    Main text that is not intended to be part of the list.