elm package cache
Packages
Reroutes
About
lamdera.com
lerzegov
/
elm-markup-fork
/
2.0.0
Formerly
lerzegov/elm-markup
. Search finds this package by either name.
README
About
Versions
Source
Modules
Mark.Internal.Error
type
Error
=
DocumentMismatch
|
CompilerError
|
ParsingIssue
(
List
(
DeadEnd
Context
Problem
))
|
UnknownBlock
(
List
String
)
|
UnknownInline
(
List
String
)
|
FailMatchOneOf
(
List
String
)
|
MissingFields
(
List
String
)
|
NonMatchingFields
{ expecting
:
List
String
, found
:
List
String
}
|
UnexpectedField
{ found
:
String
, options
:
List
String
, recordName
:
String
}
|
ExpectingIndent
Int
|
CantStartTextWithSpace
|
UnclosedStyle
{ bold
:
Bool
, italic
:
Bool
, strike
:
Bool
}
|
BadFloat
|
BadInt
|
BadBool
|
Custom
{ title
:
String
, message
:
List
String
}
|
EditingError
EditErr
render
:
String
->
UnexpectedDetails
->
Rendered
type
Context
=
InBlock
String
|
InInline
String
|
InRecord
String
|
InRecordField
String
type
Problem
=
ExpectingIndentation
Int
|
InlineStart
|
InlineEnd
|
BlockStart
|
Expecting
String
|
ExpectingBlockName
String
|
ExpectingInlineName
String
|
ExpectingFieldName
String
|
Escape
|
EscapedChar
|
Newline
|
Space
|
End
|
Integer
|
FloatingPoint
|
InvalidNumber
type
alias
UnexpectedDetails
=
{ range
:
Range
, problem
:
Error
}
documentMismatch
:
Rendered
renderParsingErrors
:
String
->
List
(
DeadEnd
Context
Problem
) ->
Rendered
idNotFound
:
Rendered
type
EditErr
=
IdNotFound
|
InvalidTextEdit
|
InvalidInsert
|
InvalidDelete
|
DocumentDoesntAllow
String
(
List
String
)
type
AstError
=
NoMatch
type
Rendered
=
Rendered
{ title
:
String
, problem
:
Error
, region
:
{ start
:
Position
, end
:
Position
}
, message
:
List
Text
}
|
Global
{ problem
:
Error
, title
:
String
, message
:
List
Text
}
compilerError
:
Rendered
renderEditError
:
EditErr
->
Rendered
README
About
2 versions
Source
Modules
Mark
Mark.Edit
Mark.New
Mark.Error
Mark.Internal.Description
Mark.Internal.Error
Mark.Internal.Format
Mark.Internal.Id
Mark.Internal.Index
Mark.Internal.Outcome
Mark.Internal.Parser
Mark.Internal.TolerantParser