Current section

Files

Jump to
html_to_markdown lib html_to_markdown link_style.ex
Raw

lib/html_to_markdown/link_style.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:430ef19cdc26a55b0159e1184f51c34147623cbcbb638e254629267528dd6c7f
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule HtmlToMarkdown.LinkStyle do
@moduledoc """
Link rendering style in Markdown output.
Controls whether links and images use inline `[text](url)` syntax or
reference-style `[text][1]` syntax with definitions collected at the end.
"""
@typedoc "Link rendering style in Markdown output."
@type t :: :inline | :reference
@inline :inline
@reference :reference
@doc "Inline links: `[text](url)`. Default."
@spec inline() :: t()
def inline, do: @inline
@doc "Reference-style links: `[text][1]` with `[1]: url` at end of document."
@spec reference() :: t()
def reference, do: @reference
end