   @typedoc "A callback function which can return anything"
   @type callback_fun :: (function -> any)
 
-  @typedoc "List of atoms (see `Cmark.Parser` @flags attribute)"
+  @typedoc "List of atoms (see `Cmark.to_html/1` for more information about options)"
   @type options_list :: [atom]
 
   @typedoc "Either an options list or a callback function"
   @type options_or_callback :: options_list | callback_fun
 
-  ##### HTML #####
-
-  @doc ~S"""
-  Compiles one or more (list) Markdown documents to HTML and returns result.
-
-  - `data` is either a string or a list
-
-  ## Examples
-
-      iex> "test" |> Cmark.to_html
-      "<p>test</p>\n"
-
-      iex> ["test 1", "test 2"] |> Cmark.to_html
-      ["<p>test 1</p>\n", "<p>test 2</p>\n"]
-
-  """
-  @spec to_html(string_or_list) :: string_or_list
-  def to_html(data),
-    do: Parser.parse(:html, data)
-
-  @doc ~S"""
-  Compiles one or more (list) Markdown documents to HTML using provided options
-  and returns result.
-
-  - `data` is either a string or a list
-  - `options_or_callback` is either an option list or a callback function
-
+  @options_doc """
   Options are passed as a list of atoms. Available options are:
 
   * `:sourcepos` - Include a `data-sourcepos` attribute on all block elements.

    `file:`, and `data:`, except for `image/png`, `image/gif`, `image/jpeg`, or
    `image/webp` mime types).  Raw HTML is replaced by a placeholder HTML
    comment. Unsafe links are replaced by empty strings.

  ## Examples


  - `data` is either a string or a list
  - `callback` is a callback function
  - `options` is an option list

  """ <> @options_doc <> ~S"""

  ## Examples

