Earmark v1.3.2 Earmark.Context View Source
Link to this section Summary
Functions
Convenience method to append to the value list
Convenience method to get a context with cleared value and messages
Convenience method to prepend to the value list
Convenience method to prepend to the value list
Link to this section Types
Link to this type
inline_code_continuation() View Source
Link to this type
maybe(t)
View Source
maybe(t)
View Source
maybe(t) :: t | nil
maybe(t) :: t | nil
Link to this type
message()
View Source
message()
View Source
message() :: {message_type(), number(), String.t()}
message() :: {message_type(), number(), String.t()}
Link to this type
message_type()
View Source
message_type()
View Source
message_type() :: :warning | :error
message_type() :: :warning | :error
Link to this type
numbered_line() View Source
Link to this type
token() View Source
Link to this type
tokens()
View Source
tokens()
View Source
tokens() :: [token()]
tokens() :: [token()]
Link to this section Functions
Link to this function
append(ctx, prep) View Source
Convenience method to append to the value list
Link to this function
clear(ctx) View Source
Convenience method to get a context with cleared value and messages
Link to this function
prepend(ctx, prep) View Source
Convenience method to prepend to the value list
Link to this function
set_value(ctx, value) View Source
Convenience method to prepend to the value list