Current section

Files

Jump to
xberg lib xberg text_annotation.ex
Raw

lib/xberg/text_annotation.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:209a244862e56919f9675a72596b4bcd9283654720164e27cad36e49934090ab
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule Xberg.TextAnnotation do
@moduledoc """
Inline text annotation — byte-range based formatting and links.
Annotations reference byte offsets into the node's text content,
enabling precise identification of formatted regions.
"""
@typedoc "Inline text annotation — byte-range based formatting and links."
@type t :: %__MODULE__{
start: non_neg_integer(),
end: non_neg_integer(),
kind: String.t() | nil
}
defstruct start: 0,
end: 0,
kind: :bold
end