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:094484387808183514a801bab05d27e52c1d7d3d595e8913feed7cad1498eee3
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
# Issues & docs: https://github.com/kreuzberg-dev/alef
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