Current section

Files

Jump to
html_to_markdown lib html_to_markdown output_format.ex
Raw

lib/html_to_markdown/output_format.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:0bb33f61f6b0fb21b11f0a4a6816b4de0f2a0ab1fc607ebf1ecf2f5cacf7ffea
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule HtmlToMarkdown.OutputFormat do
@moduledoc """
Output format for conversion.
Specifies the target markup language format for the conversion output.
"""
@typedoc "Output format for conversion."
@type t :: :markdown | :djot | :plain
@markdown :markdown
@djot :djot
@plain :plain
@doc "Standard Markdown (`CommonMark` compatible). Default."
@spec markdown() :: t()
def markdown, do: @markdown
@doc "Djot lightweight markup language."
@spec djot() :: t()
def djot, do: @djot
@doc "Plain text output (no markup, visible text only)."
@spec plain() :: t()
def plain, do: @plain
end