Earmark v1.3.6 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
inline_code_continuation() :: {nil | String.t(), number()}
Link to this type

maybe(t)

View Source
maybe(t) :: t | nil
Link to this type

message_type()

View Source
message_type() :: :warning | :error
Link to this type

numbered_line()

View Source
numbered_line() :: %{
  :line => String.t(),
  :lnb => number(),
  optional(:inside_code) => String.t()
}
Link to this type

t()

View Source
t() :: %Earmark.Context{
  footnotes: map(),
  links: map(),
  options: Earmark.Options.t(),
  rules: Keyword.t() | nil,
  value: String.t() | [String.t()]
}
Link to this type

tokens()

View Source
tokens() :: [token()]

Link to this section 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