Current section

Files

Jump to
html_to_markdown lib html_to_markdown newline_style.ex
Raw

lib/html_to_markdown/newline_style.ex

# This file is auto-generated by alef — DO NOT EDIT.
# alef:hash:587d200c95438abc2158e73f50ad7a072bde7ec6ef55df8510c6b9bc5343923c
# To regenerate: alef generate
# To verify freshness: alef verify --exit-code
defmodule HtmlToMarkdown.NewlineStyle do
@moduledoc """
Line break syntax in Markdown output.
Controls how soft line breaks (from `<br>` or line breaks in source) are rendered.
"""
@typedoc "Line break syntax in Markdown output."
@type t :: :spaces | :backslash
@spaces :spaces
@backslash :backslash
@doc "Two trailing spaces at end of line. Default. Standard Markdown syntax."
@spec spaces() :: t()
def spaces, do: @spaces
@doc "Backslash at end of line. Alternative Markdown syntax."
@spec backslash() :: t()
def backslash, do: @backslash
end