Packages

Elixir's Notion API client

Current section

Files

Jump to
notion_ex lib notion rich_text.ex
Raw

lib/notion/rich_text.ex

defmodule Notion.RichText do
@moduledoc """
RichText
"""
alias Notion.Annotation
defstruct plain_text: nil,
href: nil,
annotations: []
@type t() :: %__MODULE__{
plain_text: String.t(),
href: String.t() | nil,
annotations: [Annotation.t()]
}
end