Earmark v1.2.4 Earmark.Context

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()
inline_code_continuation() :: {nil | String.t(), number()}
Link to this type maybe(t)
maybe(t) :: t | nil
Link to this type message()
message() :: {message_type(), number(), String.t()}
Link to this type message_type()
message_type() :: :warning | :error
Link to this type numbered_line()
numbered_line() :: %{line: String.t(), lnb: number()}
Link to this type token()
token() :: {atom(), String.t()}
Link to this type tokens()
tokens() :: [token()]

Link to this section Functions

Link to this function append(ctx, prep)

Convenience method to append to the value list

Convenience method to get a context with cleared value and messages

Link to this function prepend(ctx, prep)

Convenience method to prepend to the value list

Link to this function set_value(ctx, value)

Convenience method to prepend to the value list