Nomad changes
All checks were successful
Deploy fil (kreuzberg) / deploy (push) Successful in 49s

This commit is contained in:
Henrik Jess Nielsen
2026-06-01 23:40:55 +02:00
parent 72b1a0a6ed
commit b4c07d3693
5723 changed files with 1130655 additions and 0 deletions

View File

@@ -0,0 +1,41 @@
# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:4e15143f4af1ae8bafbdb1506ef057da924484c66a19483966333558ad437e75
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
defmodule Kreuzberg.DjotContent do
@moduledoc """
Comprehensive Djot document structure with semantic preservation.
This type captures the full richness of Djot markup, including:
- Block-level structures (headings, lists, blockquotes, code blocks, etc.)
- Inline formatting (emphasis, strong, highlight, subscript, superscript, etc.)
- Attributes (classes, IDs, key-value pairs)
- Links, images, footnotes
- Math expressions (inline and display)
- Tables with full structure
Available when the `djot` feature is enabled.
"""
@typedoc "Comprehensive Djot document structure with semantic preservation."
@type t :: %__MODULE__{
plain_text: String.t() | nil,
blocks: [map()],
metadata: map(),
tables: [map()],
images: [map()],
links: [map()],
footnotes: [map()],
attributes: [String.t()]
}
defstruct plain_text: nil,
blocks: [],
metadata: nil,
tables: [],
images: [],
links: [],
footnotes: [],
attributes: []
end