HtmlToMarkdown.AnnotationKind (html_to_markdown v3.5.0-rc.1)

Copy Markdown

The type of an inline text annotation.

Uses internally tagged representation ("annotation_type": "bold") for JSON serialization.

Summary

Types

Bold / strong emphasis.

Inline code.

Highlighted / marked text.

Italic / emphasis.

A hyperlink sourced from an <a href="..."> element.

Strikethrough / deleted text.

Subscript text.

Superscript text.

t()

The type of an inline text annotation.

Underline.

Types

bold()

@type bold() :: :bold

Bold / strong emphasis.

code()

@type code() :: :code

Inline code.

highlight()

@type highlight() :: :highlight

Highlighted / marked text.

italic()

@type italic() :: :italic

Italic / emphasis.

link()

@type link() :: %{type: :link, url: String.t(), title: String.t()}

A hyperlink sourced from an <a href="..."> element.

strikethrough()

@type strikethrough() :: :strikethrough

Strikethrough / deleted text.

subscript()

@type subscript() :: :subscript

Subscript text.

superscript()

@type superscript() :: :superscript

Superscript text.

t()

@type t() :: term()

The type of an inline text annotation.

underline()

@type underline() :: :underline

Underline.