HtmlToMarkdown.StructuredDataType (html_to_markdown v3.11.4)

Copy Markdown

Structured data format type.

Identifies the schema/format used for structured data markup.

Summary

Types

t()

Structured data format type.

Functions

JSON-LD (JSON for Linking Data) script blocks

HTML5 Microdata attributes (itemscope, itemtype, itemprop)

RDF in Attributes (RDFa) markup

Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.

Types

t()

@type t() :: :json_ld | :microdata | :rdfa

Structured data format type.

Functions

json_ld()

@spec json_ld() :: t()

JSON-LD (JSON for Linking Data) script blocks

microdata()

@spec microdata() :: t()

HTML5 Microdata attributes (itemscope, itemtype, itemprop)

rd_fa()

@spec rd_fa() :: t()

RDF in Attributes (RDFa) markup

wire_value(atom)

@spec wire_value(t()) :: String.t()

Returns the serde wire value this variant carries on the JSON boundary (see wire_variant_value in alef's naming module) -- distinct from the atom's Elixir spelling.