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:84d618befc1fcbd42d1a02ee1ded5dc87dd438dbe303400c2f89891d9475e3f6
# 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