HtmlToMarkdown. TierStrategy
(html_to_markdown v3.11.4)
Copy Markdown
Controls which conversion tier is used.
Summary
Functions
Automatically pick the best tier for the input (default).
Force the Tier-1 byte scanner; if it bails, fall back to Tier-2. Testkit-only; not stable API.
Always use the Tier-2 (tl::parse + walk) path, skipping Tier-1.
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
Functions
@spec auto() :: t()
Automatically pick the best tier for the input (default).
@spec tier1() :: t()
Force the Tier-1 byte scanner; if it bails, fall back to Tier-2. Testkit-only; not stable API.
@spec tier2() :: t()
Always use the Tier-2 (tl::parse + walk) path, skipping Tier-1.
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.